#E8D34F#E8D34F

#E8D34F is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 86.1% C 0.150 H 100.2°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#E8D34F
RGBrgb(232, 211, 79)
HSLhsl(52, 77%, 61%)
HSVhsv(52, 66%, 91%)
CMYKcmyk(0%, 9.1%, 65.9%, 9%)
CIE-LABlab(84.13, -7.52, 65.46)
CIE-LCHlch(84.13, 65.89, 96.55°)
OKLaboklab(86.06% -0.0265 0.1476)
OKLCHoklch(86.06% 0.15 100.2)
XYZxyz(57.9868, 64.3114, 16.7546)
Luminance0.6431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D34F #4F64E8
analogous
#E8864F #E8D34F #B0E84F
triadic
#E8D34F #4FE8D3 #D34FE8
tetradic
#E8D34F #4FE886 #4F64E8 #E84FB0
square
#E8D34F #4FE886 #4F64E8 #E84FB0
split-complementary
#E8D34F #4FB0E8 #864FE8
monochromatic
#A79316 #DDC31D #E8D34F #EFE185 #F6EEBB

Accessibility & contrast

On white

1.51
#E8D34F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#E8D34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D34F
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D34F#FFFFFF#000000##000000
##E8D34F1.001.5113.8613.86
#FFFFFF1.511.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD3E
Deuteranopia (green-blind)
#ECD557
Tritanopia (blue-blind)
#F9C4B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e8d34f;
/* rgb */ color: rgb(232, 211, 79);
/* oklch */ color: oklch(86.1% 0.150 100.2);
Tailwind
colors: {
  custom: {
    50: '#f3e087',
    500: '#e8d34f',
    950: '#000000',
  },
}
SCSS
$custom: #e8d34f;
$custom-light: #f3e087;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d34f",
  "rgb": {
    "r": 232,
    "g": 211,
    "b": 79
  },
  "hsl": {
    "h": 51.765,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.86061,
    "c": 0.14992,
    "h": 100.2
  },
  "luminance": 0.64309
}

Semantic roles & 50–950 ramp

primary
#E8D34F
secondary
#3343A9
accent
#28D90C
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8D34F

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

Preview Lab → · Contrast checker → · Palette generator →

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