#E7DF4B#E7DF4B

#E7DF4B is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.4% C 0.163 H 106.2°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#E7DF4B
RGBrgb(231, 223, 75)
HSLhsl(57, 76%, 60%)
HSVhsv(57, 68%, 91%)
CMYKcmyk(0%, 3.5%, 67.5%, 9.4%)
CIE-LABlab(87.13, -14.15, 70.06)
CIE-LCHlch(87.13, 71.48, 101.42°)
OKLaboklab(88.42% -0.0457 0.1567)
OKLCHoklch(88.42% 0.163 106.2)
XYZxyz(60.6150, 70.2744, 17.0266)
Luminance0.7027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF4B #4B53E7
analogous
#E7914B #E7DF4B #A1E74B
triadic
#E7DF4B #4BE7DF #DF4BE7
tetradic
#E7DF4B #4BE791 #4B53E7 #E74BA1
square
#E7DF4B #4BE791 #4B53E7 #E74BA1
split-complementary
#E7DF4B #4BA1E7 #914BE7
monochromatic
#A29B16 #D8CE1D #E7DF4B #EEE981 #F5F2B7

Accessibility & contrast

On white

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

On black

15.05
#E7DF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF4B
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF4B#FFFFFF#000000##000000
##E7DF4B1.001.3915.0515.05
#FFFFFF1.391.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D735
Deuteranopia (green-blind)
#F5DD55
Tritanopia (blue-blind)
#F7D1C1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e7df4b;
/* rgb */ color: rgb(231, 223, 75);
/* oklch */ color: oklch(88.4% 0.163 106.2);
Tailwind
colors: {
  custom: {
    50: '#f2e885',
    500: '#e7df4b',
    950: '#000000',
  },
}
SCSS
$custom: #e7df4b;
$custom-light: #f2e885;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df4b",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 75
  },
  "hsl": {
    "h": 56.923,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.8842,
    "c": 0.16318,
    "h": 106.2
  },
  "luminance": 0.70272
}

Semantic roles & 50–950 ramp

primary
#E7DF4B
secondary
#3238A4
accent
#3FF335
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7DF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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