#E7DD70#E7DD70

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

Color values

HEX#E7DD70
RGBrgb(231, 221, 112)
HSLhsl(55, 71%, 67%)
HSVhsv(55, 52%, 91%)
CMYKcmyk(0%, 4.3%, 51.5%, 9.4%)
CIE-LABlab(86.93, -10.66, 54.10)
CIE-LCHlch(86.93, 55.14, 101.15°)
OKLaboklab(88.37% -0.0318 0.1274)
OKLCHoklch(88.37% 0.131 104)
XYZxyz(61.7378, 69.8736, 25.5609)
Luminance0.6987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DD70 #707AE7
analogous
#E7A270 #E7DD70 #B6E770
triadic
#E7DD70 #70E7DD #DD70E7
tetradic
#E7DD70 #70E7A2 #707AE7 #E770B6
square
#E7DD70 #70E7A2 #707AE7 #E770B6
split-complementary
#E7DD70 #70B6E7 #A270E7
monochromatic
#BDB020 #DED13C #E7DD70 #F0E9A4 #F9F6D9

Accessibility & contrast

On white

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

On black

14.97
#E7DD70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DD70
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DD70#FFFFFF#000000##000000
##E7DD701.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7dd70;
/* rgb */ color: rgb(231, 221, 112);
/* oklch */ color: oklch(88.4% 0.131 104.0);
Tailwind
colors: {
  custom: {
    50: '#f1e79c',
    500: '#e7dd70',
    950: '#000000',
  },
}
SCSS
$custom: #e7dd70;
$custom-light: #f1e79c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dd70",
  "rgb": {
    "r": 231,
    "g": 221,
    "b": 112
  },
  "hsl": {
    "h": 54.958,
    "s": 71.257,
    "l": 67.255
  },
  "oklch": {
    "l": 0.88368,
    "c": 0.13132,
    "h": 104
  },
  "luminance": 0.69872
}

Semantic roles & 50–950 ramp

primary
#E7DD70
secondary
#3F49BC
accent
#22D312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E7DD70

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

Preview Lab → · Contrast checker → · Palette generator →

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