#E2D720#E2D720

#E2D720 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.1% C 0.178 H 105.7°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#E2D720
RGBrgb(226, 215, 32)
HSLhsl(57, 77%, 51%)
HSVhsv(57, 86%, 89%)
CMYKcmyk(0%, 4.9%, 85.8%, 11.4%)
CIE-LABlab(84.42, -13.86, 80.15)
CIE-LCHlch(84.42, 81.34, 99.81°)
OKLaboklab(86.1% -0.048 0.1709)
OKLCHoklch(86.1% 0.178 105.7)
XYZxyz(55.9278, 64.8762, 10.9426)
Luminance0.6487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D720 #202BE2
analogous
#E27620 #E2D720 #8CE220
triadic
#E2D720 #20E2D7 #D720E2
tetradic
#E2D720 #20E276 #202BE2 #E2208C
square
#E2D720 #20E276 #202BE2 #E2208C
split-complementary
#E2D720 #208CE2 #7620E2
monochromatic
#787210 #AEA617 #E2D720 #E9E156 #F0EA8C

Accessibility & contrast

On white

1.50
#E2D720 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#E2D720 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D720
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D720#FFFFFF#000000##000000
##E2D7201.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBCF00
Deuteranopia (green-blind)
#EFD634
Tritanopia (blue-blind)
#F3C8B8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e2d720;
/* rgb */ color: rgb(226, 215, 32);
/* oklch */ color: oklch(86.1% 0.178 105.7);
Tailwind
colors: {
  custom: {
    50: '#f0e272',
    500: '#e2d720',
    950: '#000000',
  },
}
SCSS
$custom: #e2d720;
$custom-light: #f0e272;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d720",
  "rgb": {
    "r": 226,
    "g": 215,
    "b": 32
  },
  "hsl": {
    "h": 56.598,
    "s": 76.984,
    "l": 50.588
  },
  "oklch": {
    "l": 0.86096,
    "c": 0.17756,
    "h": 105.7
  },
  "luminance": 0.64874
}

Semantic roles & 50–950 ramp

primary
#E2D720
secondary
#262B80
accent
#3FF434
background
#FFFEFB
surface
#FFFCF1
border
#D7D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #E2D720

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

Preview Lab → · Contrast checker → · Palette generator →

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