#E7DD4C#E7DD4C

#E7DD4C is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 88.0% C 0.161 H 105.4°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#E7DD4C
RGBrgb(231, 221, 76)
HSLhsl(56, 76%, 60%)
HSVhsv(56, 67%, 91%)
CMYKcmyk(0%, 4.3%, 67.1%, 9.4%)
CIE-LABlab(86.62, -13.11, 69.16)
CIE-LCHlch(86.62, 70.39, 100.73°)
OKLaboklab(88.01% -0.0426 0.1549)
OKLCHoklch(88.01% 0.161 105.4)
XYZxyz(60.1183, 69.2258, 17.0312)
Luminance0.6922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DD4C #4C56E7
analogous
#E78F4C #E7DD4C #A3E74C
triadic
#E7DD4C #4CE7DD #DD4CE7
tetradic
#E7DD4C #4CE78F #4C56E7 #E74CA3
square
#E7DD4C #4CE78F #4C56E7 #E74CA3
split-complementary
#E7DD4C #4CA3E7 #8F4CE7
monochromatic
#A39A16 #D9CD1D #E7DD4C #EEE782 #F5F2B8

Accessibility & contrast

On white

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

On black

14.84
#E7DD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DD4C
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DD4C#FFFFFF#000000##000000
##E7DD4C1.001.4114.8414.84
#FFFFFF1.411.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D537
Deuteranopia (green-blind)
#F3DC55
Tritanopia (blue-blind)
#F8CFC0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e7dd4c;
/* rgb */ color: rgb(231, 221, 76);
/* oklch */ color: oklch(88.0% 0.161 105.4);
Tailwind
colors: {
  custom: {
    50: '#f2e786',
    500: '#e7dd4c',
    950: '#000000',
  },
}
SCSS
$custom: #e7dd4c;
$custom-light: #f2e786;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dd4c",
  "rgb": {
    "r": 231,
    "g": 221,
    "b": 76
  },
  "hsl": {
    "h": 56.129,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.88012,
    "c": 0.16068,
    "h": 105.4
  },
  "luminance": 0.69224
}

Semantic roles & 50–950 ramp

primary
#E7DD4C
secondary
#323AA5
accent
#1AD90D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7DD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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