#E7DB5F#E7DB5F

#E7DB5F is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.8% C 0.145 H 103.8°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#E7DB5F
RGBrgb(231, 219, 95)
HSLhsl(55, 74%, 64%)
HSVhsv(55, 59%, 91%)
CMYKcmyk(0%, 5.2%, 58.9%, 9.4%)
CIE-LABlab(86.25, -10.96, 60.98)
CIE-LCHlch(86.25, 61.96, 100.18°)
OKLaboklab(87.77% -0.0344 0.1404)
OKLCHoklch(87.77% 0.145 103.8)
XYZxyz(60.3542, 68.4803, 20.8631)
Luminance0.6848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DB5F #5F6BE7
analogous
#E7975F #E7DB5F #AFE75F
triadic
#E7DB5F #5FE7DB #DB5FE7
tetradic
#E7DB5F #5FE797 #5F6BE7 #E75FAF
square
#E7DB5F #5FE797 #5F6BE7 #E75FAF
split-complementary
#E7DB5F #5FAFE7 #975FE7
monochromatic
#B1A41B #DFCF2A #E7DB5F #EFE794 #F7F3C9

Accessibility & contrast

On white

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

On black

14.70
#E7DB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DB5F
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DB5F#FFFFFF#000000##000000
##E7DB5F1.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD451
Deuteranopia (green-blind)
#F1DB66
Tritanopia (blue-blind)
#F7CDC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7db5f;
/* rgb */ color: rgb(231, 219, 95);
/* oklch */ color: oklch(87.8% 0.145 103.8);
Tailwind
colors: {
  custom: {
    50: '#f1e591',
    500: '#e7db5f',
    950: '#000000',
  },
}
SCSS
$custom: #e7db5f;
$custom-light: #f1e591;
$custom-dark: #000000;
JSON
{
  "hex": "#e7db5f",
  "rgb": {
    "r": 231,
    "g": 219,
    "b": 95
  },
  "hsl": {
    "h": 54.706,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.87766,
    "c": 0.14453,
    "h": 103.8
  },
  "luminance": 0.68478
}

Semantic roles & 50–950 ramp

primary
#E7DB5F
secondary
#3943B2
accent
#21D60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7DB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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