#E2D94E#E2D94E

#E2D94E is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.8% C 0.156 H 105.6°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#E2D94E
RGBrgb(226, 217, 78)
HSLhsl(56, 72%, 60%)
HSVhsv(56, 65%, 89%)
CMYKcmyk(0%, 4%, 65.5%, 11.4%)
CIE-LABlab(85.17, -13.08, 66.78)
CIE-LCHlch(85.17, 68.05, 101.08°)
OKLaboklab(86.77% -0.042 0.1504)
OKLCHoklch(86.77% 0.156 105.6)
XYZxyz(57.5542, 66.3466, 16.9807)
Luminance0.6634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D94E #4E57E2
analogous
#E28F4E #E2D94E #A1E24E
triadic
#E2D94E #4EE2D9 #D94EE2
tetradic
#E2D94E #4EE28F #4E57E2 #E24EA1
square
#E2D94E #4EE28F #4E57E2 #E24EA1
split-complementary
#E2D94E #4EA1E2 #8F4EE2
monochromatic
#9C941A #D1C622 #E2D94E #EBE483 #F3F0B7

Accessibility & contrast

On white

1.47
#E2D94E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#E2D94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D94E
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D94E#FFFFFF#000000##000000
##E2D94E1.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD13B
Deuteranopia (green-blind)
#EFD857
Tritanopia (blue-blind)
#F2CBBD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2d94e;
/* rgb */ color: rgb(226, 217, 78);
/* oklch */ color: oklch(86.8% 0.156 105.6);
Tailwind
colors: {
  custom: {
    50: '#eee487',
    500: '#e2d94e',
    950: '#000000',
  },
}
SCSS
$custom: #e2d94e;
$custom-light: #eee487;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d94e",
  "rgb": {
    "r": 226,
    "g": 217,
    "b": 78
  },
  "hsl": {
    "h": 56.351,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.86768,
    "c": 0.15613,
    "h": 105.6
  },
  "luminance": 0.66345
}

Semantic roles & 50–950 ramp

primary
#E2D94E
secondary
#353B9F
accent
#44EF39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D94E

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

Preview Lab → · Contrast checker → · Palette generator →

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