#E5C94F#E5C94F

#E5C94F is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.8% C 0.142 H 96.2°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#E5C94F
RGBrgb(229, 201, 79)
HSLhsl(49, 74%, 60%)
HSVhsv(49, 66%, 90%)
CMYKcmyk(0%, 12.2%, 65.5%, 10.2%)
CIE-LABlab(81.29, -3.68, 62.41)
CIE-LCHlch(81.29, 62.52, 93.37°)
OKLaboklab(83.75% -0.0153 0.1412)
OKLCHoklch(83.75% 0.142 96.2)
XYZxyz(54.6136, 58.9985, 15.9068)
Luminance0.5900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C94F #4F6BE5
analogous
#E57E4F #E5C94F #B6E54F
triadic
#E5C94F #4FE5C9 #C94FE5
tetradic
#E5C94F #4FE57E #4F6BE5 #E54FB6
square
#E5C94F #4FE57E #4F6BE5 #E54FB6
split-complementary
#E5C94F #4FB6E5 #7E4FE5
monochromatic
#A28818 #D7B520 #E5C94F #EDD984 #F5EABA

Accessibility & contrast

On white

1.64
#E5C94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#E5C94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C94F
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C94F#FFFFFF#000000##000000
##E5C94F1.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC540
Deuteranopia (green-blind)
#E4CE55
Tritanopia (blue-blind)
#F6BAAF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e5c94f;
/* rgb */ color: rgb(229, 201, 79);
/* oklch */ color: oklch(83.8% 0.142 96.2);
Tailwind
colors: {
  custom: {
    50: '#f1d986',
    500: '#e5c94f',
    950: '#000000',
  },
}
SCSS
$custom: #e5c94f;
$custom-light: #f1d986;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c94f",
  "rgb": {
    "r": 229,
    "g": 201,
    "b": 79
  },
  "hsl": {
    "h": 48.8,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83751,
    "c": 0.14202,
    "h": 96.2
  },
  "luminance": 0.58996
}

Semantic roles & 50–950 ramp

primary
#E5C94F
secondary
#3449A4
accent
#34D60F
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E5C94F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E5C94F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva