#E1CF52#E1CF52

#E1CF52 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.6% C 0.144 H 101.1°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#E1CF52
RGBrgb(225, 207, 82)
HSLhsl(52, 70%, 60%)
HSVhsv(52, 64%, 88%)
CMYKcmyk(0%, 8%, 63.6%, 11.8%)
CIE-LABlab(82.51, -8.24, 62.34)
CIE-LCHlch(82.51, 62.88, 97.53°)
OKLaboklab(84.64% -0.0278 0.1416)
OKLCHoklch(84.64% 0.144 101.1)
XYZxyz(54.8894, 61.2447, 16.9111)
Luminance0.6124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1CF52 #5264E1
analogous
#E18852 #E1CF52 #ABE152
triadic
#E1CF52 #52E1CF #CF52E1
tetradic
#E1CF52 #52E188 #5264E1 #E152AB
square
#E1CF52 #52E188 #5264E1 #E152AB
split-complementary
#E1CF52 #52ABE1 #8852E1
monochromatic
#9D8D1B #D1BC24 #E1CF52 #EADD86 #F3ECBA

Accessibility & contrast

On white

1.59
#E1CF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##E1CF52#FFFFFF#000000##000000
##E1CF521.001.5913.2513.25
#FFFFFF1.591.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C943
Deuteranopia (green-blind)
#E6D159
Tritanopia (blue-blind)
#F1C1B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e1cf52;
/* rgb */ color: rgb(225, 207, 82);
/* oklch */ color: oklch(84.6% 0.144 101.1);
Tailwind
colors: {
  custom: {
    50: '#eedd88',
    500: '#e1cf52',
    950: '#000000',
  },
}
SCSS
$custom: #e1cf52;
$custom-light: #eedd88;
$custom-dark: #000000;
JSON
{
  "hex": "#e1cf52",
  "rgb": {
    "r": 225,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 52.448,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84641,
    "c": 0.14431,
    "h": 101.1
  },
  "luminance": 0.61242
}

Semantic roles & 50–950 ramp

primary
#E1CF52
secondary
#3744A1
accent
#2BD213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E1CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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