#E7DD5C#E7DD5C

#E7DD5C is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 88.1% C 0.149 H 104.9°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#E7DD5C
RGBrgb(231, 221, 92)
HSLhsl(56, 74%, 63%)
HSVhsv(56, 60%, 91%)
CMYKcmyk(0%, 4.3%, 60.2%, 9.4%)
CIE-LABlab(86.74, -12.16, 62.82)
CIE-LCHlch(86.74, 63.98, 100.95°)
OKLaboklab(88.15% -0.0382 0.1439)
OKLCHoklch(88.15% 0.149 104.9)
XYZxyz(60.7453, 69.4766, 20.3337)
Luminance0.6947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DD5C #5C66E7
analogous
#E7975C #E7DD5C #ACE75C
triadic
#E7DD5C #5CE7DD #DD5CE7
tetradic
#E7DD5C #5CE797 #5C66E7 #E75CAC
square
#E7DD5C #5CE797 #5C66E7 #E75CAC
split-complementary
#E7DD5C #5CACE7 #975CE7
monochromatic
#AFA41A #DFD227 #E7DD5C #EFE891 #F7F3C7

Accessibility & contrast

On white

1.41
#E7DD5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.90
#E7DD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DD5C
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DD5C#FFFFFF#000000##000000
##E7DD5C1.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD64D
Deuteranopia (green-blind)
#F2DC63
Tritanopia (blue-blind)
#F7CFC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e7dd5c;
/* rgb */ color: rgb(231, 221, 92);
/* oklch */ color: oklch(88.1% 0.149 104.9);
Tailwind
colors: {
  custom: {
    50: '#f2e78f',
    500: '#e7dd5c',
    950: '#000000',
  },
}
SCSS
$custom: #e7dd5c;
$custom-light: #f2e78f;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dd5c",
  "rgb": {
    "r": 231,
    "g": 221,
    "b": 92
  },
  "hsl": {
    "h": 55.683,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.8815,
    "c": 0.14886,
    "h": 104.9
  },
  "luminance": 0.69475
}

Semantic roles & 50–950 ramp

primary
#E7DD5C
secondary
#3740B0
accent
#1DD60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E7DD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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