#E5C84F#E5C84F

#E5C84F is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.5% C 0.141 H 95.6°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#E5C84F
RGBrgb(229, 200, 79)
HSLhsl(48, 74%, 60%)
HSVhsv(48, 66%, 90%)
CMYKcmyk(0%, 12.7%, 65.5%, 10.2%)
CIE-LABlab(81.03, -3.16, 62.14)
CIE-LCHlch(81.03, 62.22, 92.92°)
OKLaboklab(83.55% -0.0139 0.1406)
OKLCHoklch(83.55% 0.141 95.6)
XYZxyz(54.3812, 58.5338, 15.8294)
Luminance0.5853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C84F #4F6CE5
analogous
#E57D4F #E5C84F #B7E54F
triadic
#E5C84F #4FE5C8 #C84FE5
tetradic
#E5C84F #4FE57D #4F6CE5 #E54FB7
square
#E5C84F #4FE57D #4F6CE5 #E54FB7
split-complementary
#E5C84F #4FB7E5 #7D4FE5
monochromatic
#A28718 #D7B420 #E5C84F #EDD984 #F5E9BA

Accessibility & contrast

On white

1.65
#E5C84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#E5C84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C84F
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C84F#FFFFFF#000000##000000
##E5C84F1.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC440
Deuteranopia (green-blind)
#E3CD55
Tritanopia (blue-blind)
#F6B9AF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e5c84f;
/* rgb */ color: rgb(229, 200, 79);
/* oklch */ color: oklch(83.5% 0.141 95.6);
Tailwind
colors: {
  custom: {
    50: '#f1d886',
    500: '#e5c84f',
    950: '#000000',
  },
}
SCSS
$custom: #e5c84f;
$custom-light: #f1d886;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c84f",
  "rgb": {
    "r": 229,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 48.4,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83548,
    "c": 0.1413,
    "h": 95.6
  },
  "luminance": 0.58531
}

Semantic roles & 50–950 ramp

primary
#E5C84F
secondary
#344AA4
accent
#36D60F
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E5C84F

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

Preview Lab → · Contrast checker → · Palette generator →

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