#E2D072#E2D072

#E2D072 is a very light, moderate yellow. Relative luminance 0.625; OKLCH L 85.3% C 0.117 H 98.7°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#E2D072
RGBrgb(226, 208, 114)
HSLhsl(50, 66%, 67%)
HSVhsv(50, 50%, 89%)
CMYKcmyk(0%, 8%, 49.6%, 11.4%)
CIE-LABlab(83.18, -5.94, 48.56)
CIE-LCHlch(83.18, 48.92, 96.98°)
OKLaboklab(85.29% -0.0177 0.1155)
OKLCHoklch(85.29% 0.117 98.7)
XYZxyz(56.9589, 62.4975, 24.9792)
Luminance0.6250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D072 #7284E2
analogous
#E29872 #E2D072 #BCE272
triadic
#E2D072 #72E2D0 #D072E2
tetradic
#E2D072 #72E298 #7284E2 #E272BC
square
#E2D072 #72E298 #7284E2 #E272BC
split-complementary
#E2D072 #72BCE2 #9872E2
monochromatic
#B49D25 #D8BF3F #E2D072 #ECE1A5 #F7F2D8

Accessibility & contrast

On white

1.56
#E2D072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#E2D072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D072
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D072#FFFFFF#000000##000000
##E2D0721.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB6A
Deuteranopia (green-blind)
#E5D276
Tritanopia (blue-blind)
#F1C4BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e2d072;
/* rgb */ color: rgb(226, 208, 114);
/* oklch */ color: oklch(85.3% 0.117 98.7);
Tailwind
colors: {
  custom: {
    50: '#edde9c',
    500: '#e2d072',
    950: '#000000',
  },
}
SCSS
$custom: #e2d072;
$custom-light: #edde9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d072",
  "rgb": {
    "r": 226,
    "g": 208,
    "b": 114
  },
  "hsl": {
    "h": 50.357,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85294,
    "c": 0.11689,
    "h": 98.7
  },
  "luminance": 0.62495
}

Semantic roles & 50–950 ramp

primary
#E2D072
secondary
#4355B5
accent
#35CE18
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E2D072

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

Preview Lab → · Contrast checker → · Palette generator →

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