Skip to content

#ebdf74

a light, vivid yellow · warm · closest name: Khaki

RGB
235, 223, 116
HSL
54°, 75%, 69%
CMYK
0, 5, 51, 8
Luminance
0.7170

At a glance

Every number on this page in one read: what #ebdf74 is made of, how bright it looks, and which way it leans.

Hex
#ebdf74
Hue
54°
yellow
Saturation
75%
vivid
Lightness
69%
light
Brightness
92%
HSV value
Perceived
85%
weighted brightness
Luminance
0.7170
WCAG relative
Temperature
Warm
20/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
15.34:1
Closest name
Khaki
ΔE2000 3.1
Where it sits
Hue54° of 360°
Saturation75%
Lightness69%
Temperature
Warm ← → Cool20% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ebdf74
RGBrgb(235, 223, 116)
HSLhsl(54, 75%, 69%)
CMYKcmyk(0%, 5%, 51%, 8%)
LABlab(87.8 -9.7 53.4)
LCHlch(87.8 54.2 100.3)
OKLCHoklch(0.892 0.129 102.9)
Decimal15458164
Display P3color(display-p3 0.922 0.875 0.455)

Copy-ready code

/* CSS */
color: #ebdf74;
background-color: #ebdf74;
/* Tailwind (arbitrary) */
class="text-[#ebdf74] bg-[#ebdf74]"
/* SCSS */
$brand: #ebdf74;
/* SwiftUI */
Color(red: 0.922, green: 0.875, blue: 0.455)
/* Android */
Color.parseColor("#ebdf74")
/* Flutter */
Color(0xFFEBDF74)
/* Python / OpenCV (BGR) */
(116, 223, 235)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #ebdf74 · 15.34:1
Use #000000AAA at every size.
Aa
White text · 1.37:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.34:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ebdf74 as text scores 1.37:1 on white and 15.34:1 on black.

Accessibility — WCAG contrast

Aa
#ebdf74 on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#ebdf74 on black: 15.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F0D96A
deuteranopia · #F3DF79
tritanopia · #FAD2C6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ebdf74 is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCFBF3
#F9F7E7
#F4EFC8
#F1E89D
#ebdf74
#E3D23B
#D6C31F
#B2A31A
#8F8215
#675F13
#413B0C
Base = 400Lightest = 50 · #FCFBF3Darkest = 950 · #413B0C
:root {
  --brand-50: #FCFBF3;
  --brand-100: #F9F7E7;
  --brand-200: #F4EFC8;
  --brand-300: #F1E89D;
  --brand-400: #ebdf74;
  --brand-500: #E3D23B;
  --brand-600: #D6C31F;
  --brand-700: #B2A31A;
  --brand-800: #8F8215;
  --brand-900: #675F13;
  --brand-950: #413B0C;
  --brand: #ebdf74;
  --brand-ink: #000000;
}

Colors that work with #ebdf74

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAFAF4
Tinted page background
Border#EDE8C0
Hairlines and dividers
Muted text#9B934B
Captions on the surface
Accent#164EB6
Second voice, not a rival
Dark variant#6F6610
Hover, pressed, headers
Light variant#FCFAE9
Selected rows, tints
Dark surface#242314
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #ebdf74

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#7480EB
Analogous left#EBA374
Analogous right#BCEB74
Split-complement 1#74BCEB
Split-complement 2#A374EB
Triadic 1#74EBDF
Triadic 2#DF74EB
Tetradic#74EBA3

RGB percentages

Red92.2%
Green87.5%
Blue45.5%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow50.6%
Key (black)7.8%

Color previews

#ebdf74 text on a black background

contrast 15.34:1

Card sample

#ebdf74 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ebdf74;
Background color
Panel with #ebdf74 background
background-color: #ebdf74;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ebdf74;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(235, 223, 116, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 223, 116, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebdf74;
background: linear-gradient(135deg, #ebdf74, #A8EB74);

Monochromatic scale

Palettes built from #ebdf74

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#ebdf74 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#ebdf74, answered

What color is #ebdf74?

#ebdf74 is a light vivid yellow, closest to Khaki (ΔE2000 3.1). It sits at 54° on the hue wheel with 75% saturation and 69% lightness, which reads as warm.

What is the RGB value of #ebdf74?

rgb(235, 223, 116) — 235 red, 223 green and 116 blue out of 255, or 92.2% / 87.5% / 45.5% by channel.

Is #ebdf74 a light or a dark color?

It is a light color. Relative luminance is 0.7170 and perceived brightness is 85%, so black text on it reaches 15.34:1.

Should I use black or white text on #ebdf74?

Black. It scores 15.34:1 against #ebdf74, versus 1.37:1 for white — AAA at any size.

What is the complementary color of #ebdf74?

#7480EB sits directly opposite on the wheel. Softer options are the split-complements #74BCEB and #A374EB, which give the same contrast with far less vibration.

What colors go well with #ebdf74?

For interface work: #FAFAF4 as the surface, #EDE8C0 for borders, #9B934B for secondary text, #164EB6 as an accent and #6F6610 for hover and pressed states. For a palette, the analogous pair #EBA374 and #BCEB74 stays calm, while #7480EB is the loudest partner.

What is #ebdf74 in CMYK for printing?

cmyk(0%, 5%, 51%, 8%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #ebdf74 warm or cool?

Warm — it scores 20 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EBBA74; nudged cooler, #CCED72.

Work with #ebdf74 in the Color Lab