#E7CD52#E7CD52

#E7CD52 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.8% C 0.143 H 97.3°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#E7CD52
RGBrgb(231, 205, 82)
HSLhsl(50, 76%, 61%)
HSVhsv(50, 65%, 91%)
CMYKcmyk(0%, 11.3%, 64.5%, 9.4%)
CIE-LABlab(82.52, -4.71, 62.51)
CIE-LCHlch(82.52, 62.68, 94.31°)
OKLaboklab(84.77% -0.0181 0.1418)
OKLCHoklch(84.77% 0.143 97.3)
XYZxyz(56.3118, 61.2635, 16.8399)
Luminance0.6126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CD52 #526CE7
analogous
#E78352 #E7CD52 #B7E752
triadic
#E7CD52 #52E7CD #CD52E7
tetradic
#E7CD52 #52E783 #526CE7 #E752B7
square
#E7CD52 #52E783 #526CE7 #E752B7
split-complementary
#E7CD52 #52B7E7 #8352E7
monochromatic
#A78E17 #DDBC1F #E7CD52 #EEDD88 #F6ECBD

Accessibility & contrast

On white

1.58
#E7CD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#E7CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CD52
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CD52#FFFFFF#000000##000000
##E7CD521.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C843
Deuteranopia (green-blind)
#E7D158
Tritanopia (blue-blind)
#F8BFB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e7cd52;
/* rgb */ color: rgb(231, 205, 82);
/* oklch */ color: oklch(84.8% 0.143 97.3);
Tailwind
colors: {
  custom: {
    50: '#f2db88',
    500: '#e7cd52',
    950: '#000000',
  },
}
SCSS
$custom: #e7cd52;
$custom-light: #f2db88;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cd52",
  "rgb": {
    "r": 231,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 49.53,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84774,
    "c": 0.14295,
    "h": 97.3
  },
  "luminance": 0.61261
}

Semantic roles & 50–950 ramp

primary
#E7CD52
secondary
#3448A9
accent
#31D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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