#E8C84F#E8C84F

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

Color values

HEX#E8C84F
RGBrgb(232, 200, 79)
HSLhsl(47, 77%, 61%)
HSVhsv(47, 66%, 91%)
CMYKcmyk(0%, 13.8%, 65.9%, 9%)
CIE-LABlab(81.31, -1.90, 62.51)
CIE-LCHlch(81.31, 62.54, 91.75°)
OKLaboklab(83.83% -0.0104 0.1413)
OKLCHoklch(83.83% 0.142 94.2)
XYZxyz(55.3470, 59.0318, 15.8746)
Luminance0.5903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8C84F #4F6FE8
analogous
#E87B4F #E8C84F #BBE84F
triadic
#E8C84F #4FE8C8 #C84FE8
tetradic
#E8C84F #4FE87B #4F6FE8 #E84FBB
square
#E8C84F #4FE87B #4F6FE8 #E84FBB
split-complementary
#E8C84F #4FBBE8 #7B4FE8
monochromatic
#A78816 #DDB51D #E8C84F #EFD985 #F6EABB

Accessibility & contrast

On white

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

On black

12.81
#E8C84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8C84F
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8C84F#FFFFFF#000000##000000
##E8C84F1.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8c84f;
/* rgb */ color: rgb(232, 200, 79);
/* oklch */ color: oklch(83.8% 0.142 94.2);
Tailwind
colors: {
  custom: {
    50: '#f3d886',
    500: '#e8c84f',
    950: '#000000',
  },
}
SCSS
$custom: #e8c84f;
$custom-light: #f3d886;
$custom-dark: #000000;
JSON
{
  "hex": "#e8c84f",
  "rgb": {
    "r": 232,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 47.451,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83829,
    "c": 0.1417,
    "h": 94.2
  },
  "luminance": 0.59029
}

Semantic roles & 50–950 ramp

primary
#E8C84F
secondary
#334BA9
accent
#37D90C
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E8C84F

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

Preview Lab → · Contrast checker → · Palette generator →

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