#E7DF5F#E7DF5F

#E7DF5F is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 88.6% C 0.148 H 105.7°. Best body text is #000000 at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#E7DF5F
RGBrgb(231, 223, 95)
HSLhsl(56, 74%, 64%)
HSVhsv(56, 59%, 91%)
CMYKcmyk(0%, 3.5%, 58.9%, 9.4%)
CIE-LABlab(87.29, -12.95, 62.13)
CIE-LCHlch(87.29, 63.47, 101.77°)
OKLaboklab(88.59% -0.0401 0.1428)
OKLCHoklch(88.59% 0.148 105.7)
XYZxyz(61.4103, 70.5925, 21.2151)
Luminance0.7059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF5F #5F67E7
analogous
#E79B5F #E7DF5F #ABE75F
triadic
#E7DF5F #5FE7DF #DF5FE7
tetradic
#E7DF5F #5FE79B #5F67E7 #E75FAB
square
#E7DF5F #5FE79B #5F67E7 #E75FAB
split-complementary
#E7DF5F #5FABE7 #9B5FE7
monochromatic
#B1A81B #DFD42A #E7DF5F #EFEA94 #F7F4C9

Accessibility & contrast

On white

1.39
#E7DF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.12
#E7DF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF5F
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF5F#FFFFFF#000000##000000
##E7DF5F1.001.3915.1215.12
#FFFFFF1.391.0021.0021.00
#00000015.1221.001.001.00
##00000015.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D751
Deuteranopia (green-blind)
#F4DD66
Tritanopia (blue-blind)
#F7D2C3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e7df5f;
/* rgb */ color: rgb(231, 223, 95);
/* oklch */ color: oklch(88.6% 0.148 105.7);
Tailwind
colors: {
  custom: {
    50: '#f1e891',
    500: '#e7df5f',
    950: '#000000',
  },
}
SCSS
$custom: #e7df5f;
$custom-light: #f1e891;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df5f",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 95
  },
  "hsl": {
    "h": 56.471,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.88593,
    "c": 0.14834,
    "h": 105.7
  },
  "luminance": 0.70591
}

Semantic roles & 50–950 ramp

primary
#E7DF5F
secondary
#3940B2
accent
#1BD60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E7DF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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