#E1CD52#E1CD52

#E1CD52 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.2% C 0.143 H 100.0°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#E1CD52
RGBrgb(225, 205, 82)
HSLhsl(52, 70%, 60%)
HSVhsv(52, 64%, 88%)
CMYKcmyk(0%, 8.9%, 63.6%, 11.8%)
CIE-LABlab(81.99, -7.22, 61.78)
CIE-LCHlch(81.99, 62.21, 96.66°)
OKLaboklab(84.23% -0.0249 0.1404)
OKLCHoklch(84.23% 0.143 100)
XYZxyz(54.4079, 60.2818, 16.7507)
Luminance0.6028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1CD52 #5266E1
analogous
#E18552 #E1CD52 #AEE152
triadic
#E1CD52 #52E1CD #CD52E1
tetradic
#E1CD52 #52E185 #5266E1 #E152AE
square
#E1CD52 #52E185 #5266E1 #E152AE
split-complementary
#E1CD52 #52AEE1 #8552E1
monochromatic
#9D8B1B #D1B924 #E1CD52 #EADC86 #F3EBBA

Accessibility & contrast

On white

1.61
#E1CD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.06
#E1CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1CD52
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1CD52#FFFFFF#000000##000000
##E1CD521.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC843
Deuteranopia (green-blind)
#E5CF59
Tritanopia (blue-blind)
#F1BFB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e1cd52;
/* rgb */ color: rgb(225, 205, 82);
/* oklch */ color: oklch(84.2% 0.143 100.0);
Tailwind
colors: {
  custom: {
    50: '#eedb88',
    500: '#e1cd52',
    950: '#000000',
  },
}
SCSS
$custom: #e1cd52;
$custom-light: #eedb88;
$custom-dark: #000000;
JSON
{
  "hex": "#e1cd52",
  "rgb": {
    "r": 225,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 51.608,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84229,
    "c": 0.14263,
    "h": 100
  },
  "luminance": 0.60279
}

Semantic roles & 50–950 ramp

primary
#E1CD52
secondary
#3745A1
accent
#2ED213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E1CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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