#E7DB6A#E7DB6A

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

Color values

HEX#E7DB6A
RGBrgb(231, 219, 106)
HSLhsl(54, 72%, 66%)
HSVhsv(54, 54%, 91%)
CMYKcmyk(0%, 5.2%, 54.1%, 9.4%)
CIE-LABlab(86.35, -10.15, 56.19)
CIE-LCHlch(86.35, 57.10, 100.24°)
OKLaboklab(87.89% -0.0309 0.1314)
OKLCHoklch(87.89% 0.135 103.3)
XYZxyz(60.8899, 68.6946, 23.6848)
Luminance0.6869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DB6A #6A76E7
analogous
#E79C6A #E7DB6A #B4E76A
triadic
#E7DB6A #6AE7DB #DB6AE7
tetradic
#E7DB6A #6AE79C #6A76E7 #E76AB4
square
#E7DB6A #6AE79C #6A76E7 #E76AB4
split-complementary
#E7DB6A #6AB4E7 #9C6AE7
monochromatic
#B9AA1E #DFCE35 #E7DB6A #EFE89F #F8F4D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7DB6A#FFFFFF#000000##000000
##E7DB6A1.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)
#ECD55F
Deuteranopia (green-blind)
#F0DB70
Tritanopia (blue-blind)
#F6CEC2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7db6a;
/* rgb */ color: rgb(231, 219, 106);
/* oklch */ color: oklch(87.9% 0.135 103.3);
Tailwind
colors: {
  custom: {
    50: '#f1e598',
    500: '#e7db6a',
    950: '#000000',
  },
}
SCSS
$custom: #e7db6a;
$custom-light: #f1e598;
$custom-dark: #000000;
JSON
{
  "hex": "#e7db6a",
  "rgb": {
    "r": 231,
    "g": 219,
    "b": 106
  },
  "hsl": {
    "h": 54.24,
    "s": 72.254,
    "l": 66.078
  },
  "oklch": {
    "l": 0.87885,
    "c": 0.13494,
    "h": 103.3
  },
  "luminance": 0.68693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7DB6A

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

Preview Lab → · Contrast checker → · Palette generator →

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