#E2D84F#E2D84F

#E2D84F is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.6% C 0.154 H 105.1°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#E2D84F
RGBrgb(226, 216, 79)
HSLhsl(56, 72%, 60%)
HSVhsv(56, 65%, 89%)
CMYKcmyk(0%, 4.4%, 65%, 11.4%)
CIE-LABlab(84.92, -12.53, 66.12)
CIE-LCHlch(84.92, 67.30, 100.73°)
OKLaboklab(86.57% -0.0404 0.1491)
OKLCHoklch(86.57% 0.154 105.1)
XYZxyz(57.3333, 65.8471, 17.0853)
Luminance0.6584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D84F #4F59E2
analogous
#E28E4F #E2D84F #A3E24F
triadic
#E2D84F #4FE2D8 #D84FE2
tetradic
#E2D84F #4FE28E #4F59E2 #E24FA3
square
#E2D84F #4FE28E #4F59E2 #E24FA3
split-complementary
#E2D84F #4FA3E2 #8E4FE2
monochromatic
#9D941A #D1C522 #E2D84F #EBE484 #F3EFB8

Accessibility & contrast

On white

1.48
#E2D84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.17
#E2D84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D84F
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D84F#FFFFFF#000000##000000
##E2D84F1.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD13D
Deuteranopia (green-blind)
#EED757
Tritanopia (blue-blind)
#F2CABC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e2d84f;
/* rgb */ color: rgb(226, 216, 79);
/* oklch */ color: oklch(86.6% 0.154 105.1);
Tailwind
colors: {
  custom: {
    50: '#eee387',
    500: '#e2d84f',
    950: '#000000',
  },
}
SCSS
$custom: #e2d84f;
$custom-light: #eee387;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d84f",
  "rgb": {
    "r": 226,
    "g": 216,
    "b": 79
  },
  "hsl": {
    "h": 55.918,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86568,
    "c": 0.15449,
    "h": 105.1
  },
  "luminance": 0.65845
}

Semantic roles & 50–950 ramp

primary
#E2D84F
secondary
#353CA0
accent
#46EE39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D84F

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

Preview Lab → · Contrast checker → · Palette generator →

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