#E7DB6B#E7DB6B

#E7DB6B is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 87.9% C 0.134 H 103.2°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#E7DB6B
RGBrgb(231, 219, 107)
HSLhsl(54, 72%, 66%)
HSVhsv(54, 54%, 91%)
CMYKcmyk(0%, 5.2%, 53.7%, 9.4%)
CIE-LABlab(86.36, -10.07, 55.74)
CIE-LCHlch(86.36, 56.64, 100.24°)
OKLaboklab(87.9% -0.0306 0.1305)
OKLCHoklch(87.9% 0.134 103.2)
XYZxyz(60.9423, 68.7156, 23.9603)
Luminance0.6871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DB6B #6B77E7
analogous
#E79D6B #E7DB6B #B5E76B
triadic
#E7DB6B #6BE7DB #DB6BE7
tetradic
#E7DB6B #6BE79D #6B77E7 #E76BB5
square
#E7DB6B #6BE79D #6B77E7 #E76BB5
split-complementary
#E7DB6B #6BB5E7 #9D6BE7
monochromatic
#BAAA1E #DECE36 #E7DB6B #F0E8A0 #F8F5D4

Accessibility & contrast

On white

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

On black

14.74
#E7DB6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DB6B
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DB6B#FFFFFF#000000##000000
##E7DB6B1.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7db6b;
/* rgb */ color: rgb(231, 219, 107);
/* oklch */ color: oklch(87.9% 0.134 103.2);
Tailwind
colors: {
  custom: {
    50: '#f1e598',
    500: '#e7db6b',
    950: '#000000',
  },
}
SCSS
$custom: #e7db6b;
$custom-light: #f1e598;
$custom-dark: #000000;
JSON
{
  "hex": "#e7db6b",
  "rgb": {
    "r": 231,
    "g": 219,
    "b": 107
  },
  "hsl": {
    "h": 54.194,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.87896,
    "c": 0.13402,
    "h": 103.2
  },
  "luminance": 0.68713
}

Semantic roles & 50–950 ramp

primary
#E7DB6B
secondary
#3D49B9
accent
#24D411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7DB6B

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

Preview Lab → · Contrast checker → · Palette generator →

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