#E7DB6F#E7DB6F

#E7DB6F is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.9% C 0.130 H 103.0°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#E7DB6F
RGBrgb(231, 219, 111)
HSLhsl(54, 71%, 67%)
HSVhsv(54, 52%, 91%)
CMYKcmyk(0%, 5.2%, 51.9%, 9.4%)
CIE-LABlab(86.41, -9.75, 53.94)
CIE-LCHlch(86.41, 54.81, 100.24°)
OKLaboklab(87.94% -0.0293 0.127)
OKLCHoklch(87.94% 0.13 103)
XYZxyz(61.1576, 68.8017, 25.0944)
Luminance0.6880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DB6F #6F7BE7
analogous
#E79F6F #E7DB6F #B7E76F
triadic
#E7DB6F #6FE7DB #DB6FE7
tetradic
#E7DB6F #6FE79F #6F7BE7 #E76FB7
square
#E7DB6F #6FE79F #6F7BE7 #E76FB7
split-complementary
#E7DB6F #6FB7E7 #9F6FE7
monochromatic
#BCAD1F #DECE3B #E7DB6F #F0E8A3 #F8F5D8

Accessibility & contrast

On white

1.42
#E7DB6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.76
#E7DB6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DB6F
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DB6F#FFFFFF#000000##000000
##E7DB6F1.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD565
Deuteranopia (green-blind)
#EFDB74
Tritanopia (blue-blind)
#F6CEC2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7db6f;
/* rgb */ color: rgb(231, 219, 111);
/* oklch */ color: oklch(87.9% 0.130 103.0);
Tailwind
colors: {
  custom: {
    50: '#f1e59b',
    500: '#e7db6f',
    950: '#000000',
  },
}
SCSS
$custom: #e7db6f;
$custom-light: #f1e59b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7db6f",
  "rgb": {
    "r": 231,
    "g": 219,
    "b": 111
  },
  "hsl": {
    "h": 54,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87944,
    "c": 0.1303,
    "h": 103
  },
  "luminance": 0.688
}

Semantic roles & 50–950 ramp

primary
#E7DB6F
secondary
#3F4BBC
accent
#25D312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7DB6F

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

Preview Lab → · Contrast checker → · Palette generator →

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