#E7DD78#E7DD78

#E7DD78 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.5% C 0.124 H 103.6°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#E7DD78
RGBrgb(231, 221, 120)
HSLhsl(55, 70%, 69%)
HSVhsv(55, 48%, 91%)
CMYKcmyk(0%, 4.3%, 48.1%, 9.4%)
CIE-LABlab(87.03, -9.97, 50.43)
CIE-LCHlch(87.03, 51.41, 101.19°)
OKLaboklab(88.47% -0.029 0.1201)
OKLCHoklch(88.47% 0.124 103.6)
XYZxyz(62.2032, 70.0598, 28.0119)
Luminance0.7006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DD78 #7882E7
analogous
#E7A678 #E7DD78 #BAE778
triadic
#E7DD78 #78E7DD #DD78E7
tetradic
#E7DD78 #78E7A6 #7882E7 #E778BA
square
#E7DD78 #78E7A6 #7882E7 #E778BA
split-complementary
#E7DD78 #78BAE7 #A678E7
monochromatic
#C2B423 #DED044 #E7DD78 #F0EAAC #F9F7E0

Accessibility & contrast

On white

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

On black

15.01
#E7DD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DD78
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DD78#FFFFFF#000000##000000
##E7DD781.001.4015.0115.01
#FFFFFF1.401.0021.0021.00
#00000015.0121.001.001.00
##00000015.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD76F
Deuteranopia (green-blind)
#F0DC7D
Tritanopia (blue-blind)
#F5D1C5
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e7dd78;
/* rgb */ color: rgb(231, 221, 120);
/* oklch */ color: oklch(88.5% 0.124 103.6);
Tailwind
colors: {
  custom: {
    50: '#f1e7a1',
    500: '#e7dd78',
    950: '#000000',
  },
}
SCSS
$custom: #e7dd78;
$custom-light: #f1e7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dd78",
  "rgb": {
    "r": 231,
    "g": 221,
    "b": 120
  },
  "hsl": {
    "h": 54.595,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.8847,
    "c": 0.12352,
    "h": 103.6
  },
  "luminance": 0.70058
}

Semantic roles & 50–950 ramp

primary
#E7DD78
secondary
#444FBF
accent
#25D214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E7DD78

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

Preview Lab → · Contrast checker → · Palette generator →

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