#E2D74E#E2D74E

#E2D74E is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.4% C 0.154 H 104.7°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#E2D74E
RGBrgb(226, 215, 78)
HSLhsl(56, 72%, 60%)
HSVhsv(56, 65%, 89%)
CMYKcmyk(0%, 4.9%, 65.5%, 11.4%)
CIE-LABlab(84.65, -12.08, 66.24)
CIE-LCHlch(84.65, 67.33, 100.34°)
OKLaboklab(86.35% -0.0392 0.1492)
OKLCHoklch(86.35% 0.154 104.7)
XYZxyz(57.0418, 65.3218, 16.8099)
Luminance0.6532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D74E #4E59E2
analogous
#E28D4E #E2D74E #A3E24E
triadic
#E2D74E #4EE2D7 #D74EE2
tetradic
#E2D74E #4EE28D #4E59E2 #E24EA3
square
#E2D74E #4EE28D #4E59E2 #E24EA3
split-complementary
#E2D74E #4EA3E2 #8D4EE2
monochromatic
#9C921A #D1C422 #E2D74E #EBE383 #F3EFB7

Accessibility & contrast

On white

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

On black

14.06
#E2D74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D74E
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D74E#FFFFFF#000000##000000
##E2D74E1.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D03C
Deuteranopia (green-blind)
#EDD656
Tritanopia (blue-blind)
#F2C9BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e2d74e;
/* rgb */ color: rgb(226, 215, 78);
/* oklch */ color: oklch(86.4% 0.154 104.7);
Tailwind
colors: {
  custom: {
    50: '#eee386',
    500: '#e2d74e',
    950: '#000000',
  },
}
SCSS
$custom: #e2d74e;
$custom-light: #eee386;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d74e",
  "rgb": {
    "r": 226,
    "g": 215,
    "b": 78
  },
  "hsl": {
    "h": 55.541,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.86351,
    "c": 0.1543,
    "h": 104.7
  },
  "luminance": 0.6532
}

Semantic roles & 50–950 ramp

primary
#E2D74E
secondary
#353D9F
accent
#47EF39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D74E

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

Preview Lab → · Contrast checker → · Palette generator →

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