#E5C64F#E5C64F

#E5C64F is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 83.1% C 0.140 H 94.5°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#E5C64F
RGBrgb(229, 198, 79)
HSLhsl(48, 74%, 60%)
HSVhsv(48, 66%, 90%)
CMYKcmyk(0%, 13.5%, 65.5%, 10.2%)
CIE-LABlab(80.52, -2.14, 61.60)
CIE-LCHlch(80.52, 61.63, 91.99°)
OKLaboklab(83.14% -0.0109 0.1395)
OKLCHoklch(83.14% 0.14 94.5)
XYZxyz(53.9210, 57.6135, 15.6760)
Luminance0.5761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C64F #4F6EE5
analogous
#E57B4F #E5C64F #B9E54F
triadic
#E5C64F #4FE5C6 #C64FE5
tetradic
#E5C64F #4FE57B #4F6EE5 #E54FB9
square
#E5C64F #4FE57B #4F6EE5 #E54FB9
split-complementary
#E5C64F #4FB9E5 #7B4FE5
monochromatic
#A28518 #D7B120 #E5C64F #EDD784 #F5E9BA

Accessibility & contrast

On white

1.68
#E5C64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#E5C64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C64F
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C64F#FFFFFF#000000##000000
##E5C64F1.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC240
Deuteranopia (green-blind)
#E1CC55
Tritanopia (blue-blind)
#F7B7AD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e5c64f;
/* rgb */ color: rgb(229, 198, 79);
/* oklch */ color: oklch(83.1% 0.140 94.5);
Tailwind
colors: {
  custom: {
    50: '#f1d686',
    500: '#e5c64f',
    950: '#000000',
  },
}
SCSS
$custom: #e5c64f;
$custom-light: #f1d686;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c64f",
  "rgb": {
    "r": 229,
    "g": 198,
    "b": 79
  },
  "hsl": {
    "h": 47.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83144,
    "c": 0.1399,
    "h": 94.5
  },
  "luminance": 0.57611
}

Semantic roles & 50–950 ramp

primary
#E5C64F
secondary
#344BA4
accent
#38D60F
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E5C64F

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

Preview Lab → · Contrast checker → · Palette generator →

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