#E7D052#E7D052

#E7D052 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.4% C 0.145 H 98.9°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#E7D052
RGBrgb(231, 208, 82)
HSLhsl(51, 76%, 61%)
HSVhsv(51, 65%, 91%)
CMYKcmyk(0%, 10%, 64.5%, 9.4%)
CIE-LABlab(83.29, -6.24, 63.33)
CIE-LCHlch(83.29, 63.63, 95.63°)
OKLaboklab(85.38% -0.0224 0.1435)
OKLCHoklch(85.38% 0.145 98.9)
XYZxyz(57.0363, 62.7125, 17.0814)
Luminance0.6271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D052 #5269E7
analogous
#E78652 #E7D052 #B4E752
triadic
#E7D052 #52E7D0 #D052E7
tetradic
#E7D052 #52E786 #5269E7 #E752B4
square
#E7D052 #52E786 #5269E7 #E752B4
split-complementary
#E7D052 #52B4E7 #8652E7
monochromatic
#A79117 #DDC01F #E7D052 #EEDF88 #F6EDBD

Accessibility & contrast

On white

1.55
#E7D052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#E7D052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D052
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D052#FFFFFF#000000##000000
##E7D0521.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB43
Deuteranopia (green-blind)
#E9D359
Tritanopia (blue-blind)
#F8C2B6
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e7d052;
/* rgb */ color: rgb(231, 208, 82);
/* oklch */ color: oklch(85.4% 0.145 98.9);
Tailwind
colors: {
  custom: {
    50: '#f2de88',
    500: '#e7d052',
    950: '#000000',
  },
}
SCSS
$custom: #e7d052;
$custom-light: #f2de88;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d052",
  "rgb": {
    "r": 231,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 50.738,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85384,
    "c": 0.14528,
    "h": 98.9
  },
  "luminance": 0.6271
}

Semantic roles & 50–950 ramp

primary
#E7D052
secondary
#3446A9
accent
#2DD80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7D052

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

Preview Lab → · Contrast checker → · Palette generator →

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