#E2DE38#E2DE38

#E2DE38 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 87.7% C 0.174 H 108.1°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#E2DE38
RGBrgb(226, 222, 56)
HSLhsl(59, 75%, 55%)
HSVhsv(59, 75%, 89%)
CMYKcmyk(0%, 1.8%, 75.2%, 11.4%)
CIE-LABlab(86.35, -16.60, 75.68)
CIE-LCHlch(86.35, 77.48, 102.37°)
OKLaboklab(87.67% -0.054 0.1655)
OKLCHoklch(87.67% 0.174 108.1)
XYZxyz(58.2014, 68.6988, 13.9350)
Luminance0.6870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DE38 #383CE2
analogous
#E28938 #E2DE38 #91E238
triadic
#E2DE38 #38E2DE #DE38E2
tetradic
#E2DE38 #38E289 #383CE2 #E23891
square
#E2DE38 #38E289 #383CE2 #E23891
split-complementary
#E2DE38 #3891E2 #8938E2
monochromatic
#8B8814 #C1BD1C #E2DE38 #EAE76D #F2F0A3

Accessibility & contrast

On white

1.42
#E2DE38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#E2DE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DE38
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DE38#FFFFFF#000000##000000
##E2DE381.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D50B
Deuteranopia (green-blind)
#F3DB46
Tritanopia (blue-blind)
#F2CFBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2de38;
/* rgb */ color: rgb(226, 222, 56);
/* oklch */ color: oklch(87.7% 0.174 108.1);
Tailwind
colors: {
  custom: {
    50: '#efe87c',
    500: '#e2de38',
    950: '#000000',
  },
}
SCSS
$custom: #e2de38;
$custom-light: #efe87c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2de38",
  "rgb": {
    "r": 226,
    "g": 222,
    "b": 56
  },
  "hsl": {
    "h": 58.588,
    "s": 74.561,
    "l": 55.294
  },
  "oklch": {
    "l": 0.87668,
    "c": 0.17404,
    "h": 108.1
  },
  "luminance": 0.68697
}

Semantic roles & 50–950 ramp

primary
#E2DE38
secondary
#2D3091
accent
#3BF137
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160A
muted
#85847D

Preview Lab

Preview with #E2DE38

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

Preview Lab → · Contrast checker → · Palette generator →

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