#E2DF70#E2DF70

#E2DF70 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.4% C 0.134 H 107.4°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#E2DF70
RGBrgb(226, 223, 112)
HSLhsl(58, 66%, 66%)
HSVhsv(58, 50%, 89%)
CMYKcmyk(0%, 1.3%, 50.4%, 11.4%)
CIE-LABlab(87.05, -13.67, 54.14)
CIE-LCHlch(87.05, 55.84, 104.17°)
OKLaboklab(88.37% -0.0401 0.1276)
OKLCHoklch(88.37% 0.134 107.4)
XYZxyz(60.6779, 70.1156, 25.6634)
Luminance0.7011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF70 #7073E2
analogous
#E2A670 #E2DF70 #ACE270
triadic
#E2DF70 #70E2DF #DF70E2
tetradic
#E2DF70 #70E2A6 #7073E2 #E270AC
square
#E2DF70 #70E2A6 #7073E2 #E270AC
split-complementary
#E2DF70 #70ACE2 #A670E2
monochromatic
#B3AF24 #D8D43D #E2DF70 #ECEAA3 #F7F6D6

Accessibility & contrast

On white

1.40
#E2DF70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.02
#E2DF70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF70
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF70#FFFFFF#000000##000000
##E2DF701.001.4015.0215.02
#FFFFFF1.401.0021.0021.00
#00000015.0221.001.001.00
##00000015.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD866
Deuteranopia (green-blind)
#F1DC76
Tritanopia (blue-blind)
#F0D3C6
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e2df70;
/* rgb */ color: rgb(226, 223, 112);
/* oklch */ color: oklch(88.4% 0.134 107.4);
Tailwind
colors: {
  custom: {
    50: '#ede89c',
    500: '#e2df70',
    950: '#000000',
  },
}
SCSS
$custom: #e2df70;
$custom-light: #ede89c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df70",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 112
  },
  "hsl": {
    "h": 58.421,
    "s": 66.279,
    "l": 66.275
  },
  "oklch": {
    "l": 0.88365,
    "c": 0.13372,
    "h": 107.4
  },
  "luminance": 0.70114
}

Semantic roles & 50–950 ramp

primary
#E2DF70
secondary
#4245B4
accent
#1CCE17
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E2DF70

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

Preview Lab → · Contrast checker → · Palette generator →

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