#E7DD72#E7DD72

#E7DD72 is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 88.4% C 0.129 H 103.9°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#E7DD72
RGBrgb(231, 221, 114)
HSLhsl(55, 71%, 68%)
HSVhsv(55, 51%, 91%)
CMYKcmyk(0%, 4.3%, 50.6%, 9.4%)
CIE-LABlab(86.96, -10.50, 53.19)
CIE-LCHlch(86.96, 54.21, 101.16°)
OKLaboklab(88.39% -0.0311 0.1256)
OKLCHoklch(88.39% 0.129 103.9)
XYZxyz(61.8504, 69.9187, 26.1539)
Luminance0.6992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DD72 #727CE7
analogous
#E7A372 #E7DD72 #B6E772
triadic
#E7DD72 #72E7DD #DD72E7
tetradic
#E7DD72 #72E7A3 #727CE7 #E772B6
square
#E7DD72 #72E7A3 #727CE7 #E772B6
split-complementary
#E7DD72 #72B6E7 #A372E7
monochromatic
#BEB120 #DED03E #E7DD72 #F0EAA6 #F9F6DB

Accessibility & contrast

On white

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

On black

14.98
#E7DD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DD72
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DD72#FFFFFF#000000##000000
##E7DD721.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD768
Deuteranopia (green-blind)
#F1DC77
Tritanopia (blue-blind)
#F6D1C4
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e7dd72;
/* rgb */ color: rgb(231, 221, 114);
/* oklch */ color: oklch(88.4% 0.129 103.9);
Tailwind
colors: {
  custom: {
    50: '#f1e79d',
    500: '#e7dd72',
    950: '#000000',
  },
}
SCSS
$custom: #e7dd72;
$custom-light: #f1e79d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dd72",
  "rgb": {
    "r": 231,
    "g": 221,
    "b": 114
  },
  "hsl": {
    "h": 54.872,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.88393,
    "c": 0.1294,
    "h": 103.9
  },
  "luminance": 0.69917
}

Semantic roles & 50–950 ramp

primary
#E7DD72
secondary
#404BBD
accent
#23D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E7DD72

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

Preview Lab → · Contrast checker → · Palette generator →

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