#E7DF52#E7DF52

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

Color values

HEX#E7DF52
RGBrgb(231, 223, 82)
HSLhsl(57, 76%, 61%)
HSVhsv(57, 65%, 91%)
CMYKcmyk(0%, 3.5%, 64.5%, 9.4%)
CIE-LABlab(87.18, -13.77, 67.41)
CIE-LCHlch(87.18, 68.80, 101.54°)
OKLaboklab(88.48% -0.0438 0.1522)
OKLCHoklch(88.48% 0.158 106.1)
XYZxyz(60.8679, 70.3756, 18.3586)
Luminance0.7037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF52 #525AE7
analogous
#E79552 #E7DF52 #A4E752
triadic
#E7DF52 #52E7DF #DF52E7
tetradic
#E7DF52 #52E795 #525AE7 #E752A4
square
#E7DF52 #52E795 #525AE7 #E752A4
split-complementary
#E7DF52 #52A4E7 #9552E7
monochromatic
#A7A017 #DDD31F #E7DF52 #EEE988 #F6F3BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7DF52#FFFFFF#000000##000000
##E7DF521.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)
#F1D73F
Deuteranopia (green-blind)
#F5DD5B
Tritanopia (blue-blind)
#F7D1C2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e7df52;
/* rgb */ color: rgb(231, 223, 82);
/* oklch */ color: oklch(88.5% 0.158 106.1);
Tailwind
colors: {
  custom: {
    50: '#f2e889',
    500: '#e7df52',
    950: '#000000',
  },
}
SCSS
$custom: #e7df52;
$custom-light: #f2e889;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df52",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 56.779,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.88475,
    "c": 0.15835,
    "h": 106.1
  },
  "luminance": 0.70373
}

Semantic roles & 50–950 ramp

primary
#E7DF52
secondary
#343AA9
accent
#19D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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