#E2D74F#E2D74F

#E2D74F 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.07:1 contrast (WCAG AA passes).

Color values

HEX#E2D74F
RGBrgb(226, 215, 79)
HSLhsl(56, 72%, 60%)
HSVhsv(56, 65%, 89%)
CMYKcmyk(0%, 4.9%, 65%, 11.4%)
CIE-LABlab(84.66, -12.03, 65.85)
CIE-LCHlch(84.66, 66.94, 100.35°)
OKLaboklab(86.36% -0.0389 0.1486)
OKLCHoklch(86.36% 0.154 104.7)
XYZxyz(57.0779, 65.3362, 17.0002)
Luminance0.6533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D74F #4F5AE2
analogous
#E28D4F #E2D74F #A4E24F
triadic
#E2D74F #4FE2D7 #D74FE2
tetradic
#E2D74F #4FE28D #4F5AE2 #E24FA4
square
#E2D74F #4FE28D #4F5AE2 #E24FA4
split-complementary
#E2D74F #4FA4E2 #8D4FE2
monochromatic
#9D931A #D1C422 #E2D74F #EBE384 #F3EFB8

Accessibility & contrast

On white

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

On black

14.07
#E2D74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D74F
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D74F#FFFFFF#000000##000000
##E2D74F1.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2d74f;
/* rgb */ color: rgb(226, 215, 79);
/* oklch */ color: oklch(86.4% 0.154 104.7);
Tailwind
colors: {
  custom: {
    50: '#eee387',
    500: '#e2d74f',
    950: '#000000',
  },
}
SCSS
$custom: #e2d74f;
$custom-light: #eee387;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d74f",
  "rgb": {
    "r": 226,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 55.51,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8636,
    "c": 0.15358,
    "h": 104.7
  },
  "luminance": 0.65334
}

Semantic roles & 50–950 ramp

primary
#E2D74F
secondary
#353DA0
accent
#47EE39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D74F

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

Preview Lab → · Contrast checker → · Palette generator →

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