#E7DB4F#E7DB4F

#E7DB4F is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.6% C 0.157 H 104.4°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#E7DB4F
RGBrgb(231, 219, 79)
HSLhsl(55, 76%, 61%)
HSVhsv(55, 66%, 91%)
CMYKcmyk(0%, 5.2%, 65.8%, 9.4%)
CIE-LABlab(86.12, -11.95, 67.49)
CIE-LCHlch(86.12, 68.54, 100.04°)
OKLaboklab(87.62% -0.039 0.1519)
OKLCHoklch(87.62% 0.157 104.4)
XYZxyz(59.7001, 68.2187, 17.4184)
Luminance0.6822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DB4F #4F5BE7
analogous
#E78F4F #E7DB4F #A7E74F
triadic
#E7DB4F #4FE7DB #DB4FE7
tetradic
#E7DB4F #4FE78F #4F5BE7 #E74FA7
square
#E7DB4F #4FE78F #4F5BE7 #E74FA7
split-complementary
#E7DB4F #4FA7E7 #8F4FE7
monochromatic
#A59A17 #DBCC1E #E7DB4F #EEE685 #F6F1BB

Accessibility & contrast

On white

1.43
#E7DB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.64
#E7DB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DB4F
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DB4F#FFFFFF#000000##000000
##E7DB4F1.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED43C
Deuteranopia (green-blind)
#F2DA58
Tritanopia (blue-blind)
#F8CDBE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e7db4f;
/* rgb */ color: rgb(231, 219, 79);
/* oklch */ color: oklch(87.6% 0.157 104.4);
Tailwind
colors: {
  custom: {
    50: '#f2e587',
    500: '#e7db4f',
    950: '#000000',
  },
}
SCSS
$custom: #e7db4f;
$custom-light: #f2e587;
$custom-dark: #000000;
JSON
{
  "hex": "#e7db4f",
  "rgb": {
    "r": 231,
    "g": 219,
    "b": 79
  },
  "hsl": {
    "h": 55.263,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.8762,
    "c": 0.15681,
    "h": 104.4
  },
  "luminance": 0.68216
}

Semantic roles & 50–950 ramp

primary
#E7DB4F
secondary
#333CA7
accent
#1DD80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7DB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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