#E8D62F#E8D62F

#E8D62F is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.5% C 0.171 H 102.8°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#E8D62F
RGBrgb(232, 214, 47)
HSLhsl(54, 80%, 55%)
HSVhsv(54, 80%, 91%)
CMYKcmyk(0%, 7.8%, 79.7%, 9%)
CIE-LABlab(84.72, -10.42, 77.03)
CIE-LCHlch(84.72, 77.73, 97.70°)
OKLaboklab(86.47% -0.0377 0.1664)
OKLCHoklch(86.47% 0.171 102.8)
XYZxyz(57.8411, 65.4568, 12.2765)
Luminance0.6545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D62F #2F41E8
analogous
#E8792F #E8D62F #9EE82F
triadic
#E8D62F #2FE8D6 #D62FE8
tetradic
#E8D62F #2FE879 #2F41E8 #E82F9E
square
#E8D62F #2FE879 #2F41E8 #E82F9E
split-complementary
#E8D62F #2F9EE8 #792FE8
monochromatic
#8D8110 #C4B316 #E8D62F #EEE166 #F4EC9D

Accessibility & contrast

On white

1.49
#E8D62F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#E8D62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D62F
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D62F#FFFFFF#000000##000000
##E8D62F1.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACF00
Deuteranopia (green-blind)
#F0D73D
Tritanopia (blue-blind)
#FAC6B8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e8d62f;
/* rgb */ color: rgb(232, 214, 47);
/* oklch */ color: oklch(86.5% 0.171 102.8);
Tailwind
colors: {
  custom: {
    50: '#f4e277',
    500: '#e8d62f',
    950: '#000000',
  },
}
SCSS
$custom: #e8d62f;
$custom-light: #f4e277;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d62f",
  "rgb": {
    "r": 232,
    "g": 214,
    "b": 47
  },
  "hsl": {
    "h": 54.162,
    "s": 80.087,
    "l": 54.706
  },
  "oklch": {
    "l": 0.86471,
    "c": 0.17067,
    "h": 102.8
  },
  "luminance": 0.65454
}

Semantic roles & 50–950 ramp

primary
#E8D62F
secondary
#293392
accent
#44F731
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150A
muted
#86847D

Preview Lab

Preview with #E8D62F

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

Preview Lab → · Contrast checker → · Palette generator →

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