#E7DF51#E7DF51

#E7DF51 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.5% C 0.159 H 106.1°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#E7DF51
RGBrgb(231, 223, 81)
HSLhsl(57, 76%, 61%)
HSVhsv(57, 65%, 91%)
CMYKcmyk(0%, 3.5%, 64.9%, 9.4%)
CIE-LABlab(87.17, -13.83, 67.80)
CIE-LCHlch(87.17, 69.19, 101.53°)
OKLaboklab(88.47% -0.0441 0.1528)
OKLCHoklch(88.47% 0.159 106.1)
XYZxyz(60.8301, 70.3605, 18.1596)
Luminance0.7036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF51 #5159E7
analogous
#E79451 #E7DF51 #A4E751
triadic
#E7DF51 #51E7DF #DF51E7
tetradic
#E7DF51 #51E794 #5159E7 #E751A4
square
#E7DF51 #51E794 #5159E7 #E751A4
split-complementary
#E7DF51 #51A4E7 #9451E7
monochromatic
#A79F17 #DCD21E #E7DF51 #EEE987 #F6F3BD

Accessibility & contrast

On white

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

On black

15.07
#E7DF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF51
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF51#FFFFFF#000000##000000
##E7DF511.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D73E
Deuteranopia (green-blind)
#F5DD5A
Tritanopia (blue-blind)
#F7D1C2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e7df51;
/* rgb */ color: rgb(231, 223, 81);
/* oklch */ color: oklch(88.5% 0.159 106.1);
Tailwind
colors: {
  custom: {
    50: '#f2e889',
    500: '#e7df51',
    950: '#000000',
  },
}
SCSS
$custom: #e7df51;
$custom-light: #f2e889;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df51",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 56.8,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.88467,
    "c": 0.15907,
    "h": 106.1
  },
  "luminance": 0.70358
}

Semantic roles & 50–950 ramp

primary
#E7DF51
secondary
#343AA8
accent
#18D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7DF51

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

Preview Lab → · Contrast checker → · Palette generator →

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