#E2D048#E2D048

#E2D048 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.9% C 0.152 H 101.7°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#E2D048
RGBrgb(226, 208, 72)
HSLhsl(53, 73%, 58%)
HSVhsv(53, 68%, 89%)
CMYKcmyk(0%, 8%, 68.1%, 11.4%)
CIE-LABlab(82.78, -8.89, 66.68)
CIE-LCHlch(82.78, 67.27, 97.59°)
OKLaboklab(84.85% -0.0308 0.1492)
OKLCHoklch(84.85% 0.152 101.7)
XYZxyz(55.0920, 61.7507, 15.1468)
Luminance0.6175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D048 #485AE2
analogous
#E28348 #E2D048 #A7E248
triadic
#E2D048 #48E2D0 #D048E2
tetradic
#E2D048 #48E283 #485AE2 #E248A7
square
#E2D048 #48E283 #485AE2 #E248A7
split-complementary
#E2D048 #48A7E2 #8348E2
monochromatic
#988918 #CCB820 #E2D048 #EADE7D #F3EBB2

Accessibility & contrast

On white

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

On black

13.35
#E2D048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D048
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D048#FFFFFF#000000##000000
##E2D0481.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA34
Deuteranopia (green-blind)
#E8D150
Tritanopia (blue-blind)
#F3C2B5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2d048;
/* rgb */ color: rgb(226, 208, 72);
/* oklch */ color: oklch(84.9% 0.152 101.7);
Tailwind
colors: {
  custom: {
    50: '#efde82',
    500: '#e2d048',
    950: '#000000',
  },
}
SCSS
$custom: #e2d048;
$custom-light: #efde82;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d048",
  "rgb": {
    "r": 226,
    "g": 208,
    "b": 72
  },
  "hsl": {
    "h": 52.987,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84852,
    "c": 0.15233,
    "h": 101.7
  },
  "luminance": 0.61748
}

Semantic roles & 50–950 ramp

primary
#E2D048
secondary
#333F9C
accent
#4EEF38
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2D048

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

Preview Lab → · Contrast checker → · Palette generator →

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