#E2D958#E2D958

#E2D958 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.9% C 0.149 H 105.3°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#E2D958
RGBrgb(226, 217, 88)
HSLhsl(56, 70%, 62%)
HSVhsv(56, 61%, 89%)
CMYKcmyk(0%, 4%, 61.1%, 11.4%)
CIE-LABlab(85.25, -12.48, 62.78)
CIE-LCHlch(85.25, 64.01, 101.24°)
OKLaboklab(86.86% -0.0392 0.1434)
OKLCHoklch(86.86% 0.149 105.3)
XYZxyz(57.9404, 66.5010, 19.0146)
Luminance0.6650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D958 #5861E2
analogous
#E29458 #E2D958 #A6E258
triadic
#E2D958 #58E2D9 #D958E2
tetradic
#E2D958 #58E294 #5861E2 #E258A6
square
#E2D958 #58E294 #5861E2 #E258A6
split-complementary
#E2D958 #58A6E2 #9458E2
monochromatic
#A39A1C #D7CC25 #E2D958 #EBE58C #F4F1C0

Accessibility & contrast

On white

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

On black

14.30
#E2D958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D958
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D958#FFFFFF#000000##000000
##E2D9581.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD249
Deuteranopia (green-blind)
#EED85F
Tritanopia (blue-blind)
#F2CCBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2d958;
/* rgb */ color: rgb(226, 217, 88);
/* oklch */ color: oklch(86.9% 0.149 105.3);
Tailwind
colors: {
  custom: {
    50: '#eee48c',
    500: '#e2d958',
    950: '#000000',
  },
}
SCSS
$custom: #e2d958;
$custom-light: #eee48c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d958",
  "rgb": {
    "r": 226,
    "g": 217,
    "b": 88
  },
  "hsl": {
    "h": 56.087,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.86856,
    "c": 0.14865,
    "h": 105.3
  },
  "luminance": 0.66499
}

Semantic roles & 50–950 ramp

primary
#E2D958
secondary
#383FA6
accent
#20D213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D958

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

Preview Lab → · Contrast checker → · Palette generator →

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