#E2D950#E2D950

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

Color values

HEX#E2D950
RGBrgb(226, 217, 80)
HSLhsl(56, 72%, 60%)
HSVhsv(56, 65%, 89%)
CMYKcmyk(0%, 4%, 64.6%, 11.4%)
CIE-LABlab(85.19, -12.97, 66.00)
CIE-LCHlch(85.19, 67.27, 101.11°)
OKLaboklab(86.79% -0.0415 0.149)
OKLCHoklch(86.79% 0.155 105.6)
XYZxyz(57.6270, 66.3757, 17.3641)
Luminance0.6637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D950 #5059E2
analogous
#E29050 #E2D950 #A2E250
triadic
#E2D950 #50E2D9 #D950E2
tetradic
#E2D950 #50E290 #5059E2 #E250A2
square
#E2D950 #50E290 #5059E2 #E250A2
split-complementary
#E2D950 #50A2E2 #9050E2
monochromatic
#9E951A #D2C723 #E2D950 #EBE484 #F3F0B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2D950#FFFFFF#000000##000000
##E2D9501.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)
#EBD13E
Deuteranopia (green-blind)
#EED858
Tritanopia (blue-blind)
#F2CBBD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2d950;
/* rgb */ color: rgb(226, 217, 80);
/* oklch */ color: oklch(86.8% 0.155 105.6);
Tailwind
colors: {
  custom: {
    50: '#eee488',
    500: '#e2d950',
    950: '#000000',
  },
}
SCSS
$custom: #e2d950;
$custom-light: #eee488;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d950",
  "rgb": {
    "r": 226,
    "g": 217,
    "b": 80
  },
  "hsl": {
    "h": 56.301,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.86785,
    "c": 0.1547,
    "h": 105.6
  },
  "luminance": 0.66374
}

Semantic roles & 50–950 ramp

primary
#E2D950
secondary
#353CA1
accent
#45EE39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D950

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

Preview Lab → · Contrast checker → · Palette generator →

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