#E2D058#E2D058

#E2D058 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 85.0% C 0.140 H 100.8°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#E2D058
RGBrgb(226, 208, 88)
HSLhsl(52, 70%, 62%)
HSVhsv(52, 61%, 89%)
CMYKcmyk(0%, 8%, 61.1%, 11.4%)
CIE-LABlab(82.91, -7.95, 60.23)
CIE-LCHlch(82.91, 60.75, 97.52°)
OKLaboklab(84.99% -0.0263 0.138)
OKLCHoklch(84.99% 0.14 100.8)
XYZxyz(55.6835, 61.9874, 18.2623)
Luminance0.6199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D058 #586AE2
analogous
#E28B58 #E2D058 #AFE258
triadic
#E2D058 #58E2D0 #D058E2
tetradic
#E2D058 #58E28B #586AE2 #E258AF
square
#E2D058 #58E28B #586AE2 #E258AF
split-complementary
#E2D058 #58AFE2 #8B58E2
monochromatic
#A3921C #D7C025 #E2D058 #EBDF8C #F4EDC0

Accessibility & contrast

On white

1.57
#E2D058 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#E2D058 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D058
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D058#FFFFFF#000000##000000
##E2D0581.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA4A
Deuteranopia (green-blind)
#E7D25E
Tritanopia (blue-blind)
#F2C2B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2d058;
/* rgb */ color: rgb(226, 208, 88);
/* oklch */ color: oklch(85.0% 0.140 100.8);
Tailwind
colors: {
  custom: {
    50: '#eede8c',
    500: '#e2d058',
    950: '#000000',
  },
}
SCSS
$custom: #e2d058;
$custom-light: #eede8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d058",
  "rgb": {
    "r": 226,
    "g": 208,
    "b": 88
  },
  "hsl": {
    "h": 52.174,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84993,
    "c": 0.14045,
    "h": 100.8
  },
  "luminance": 0.61985
}

Semantic roles & 50–950 ramp

primary
#E2D058
secondary
#3847A6
accent
#2CD213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D058

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

Preview Lab → · Contrast checker → · Palette generator →

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