#E7D552#E7D552

#E7D552 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.4% C 0.149 H 101.5°. Best body text is #000000 at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#E7D552
RGBrgb(231, 213, 82)
HSLhsl(53, 76%, 61%)
HSVhsv(53, 65%, 91%)
CMYKcmyk(0%, 7.8%, 64.5%, 9.4%)
CIE-LABlab(84.58, -8.77, 64.69)
CIE-LCHlch(84.58, 65.28, 97.72°)
OKLaboklab(86.41% -0.0297 0.1464)
OKLCHoklch(86.41% 0.149 101.5)
XYZxyz(58.2746, 65.1891, 17.4942)
Luminance0.6519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D552 #5264E7
analogous
#E78B52 #E7D552 #AFE752
triadic
#E7D552 #52E7D5 #D552E7
tetradic
#E7D552 #52E78B #5264E7 #E752AF
square
#E7D552 #52E78B #5264E7 #E752AF
split-complementary
#E7D552 #52AFE7 #8B52E7
monochromatic
#A79617 #DDC61F #E7D552 #EEE288 #F6EFBD

Accessibility & contrast

On white

1.50
#E7D552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.04
#E7D552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D552
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D552#FFFFFF#000000##000000
##E7D5521.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF41
Deuteranopia (green-blind)
#EDD659
Tritanopia (blue-blind)
#F8C7BA
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e7d552;
/* rgb */ color: rgb(231, 213, 82);
/* oklch */ color: oklch(86.4% 0.149 101.5);
Tailwind
colors: {
  custom: {
    50: '#f2e189',
    500: '#e7d552',
    950: '#000000',
  },
}
SCSS
$custom: #e7d552;
$custom-light: #f2e189;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d552",
  "rgb": {
    "r": 231,
    "g": 213,
    "b": 82
  },
  "hsl": {
    "h": 52.752,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86408,
    "c": 0.1494,
    "h": 101.5
  },
  "luminance": 0.65187
}

Semantic roles & 50–950 ramp

primary
#E7D552
secondary
#3442A9
accent
#26D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7D552

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

Preview Lab → · Contrast checker → · Palette generator →

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