#E2CF52#E2CF52

#E2CF52 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.7% C 0.144 H 100.6°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#E2CF52
RGBrgb(226, 207, 82)
HSLhsl(52, 71%, 60%)
HSVhsv(52, 64%, 89%)
CMYKcmyk(0%, 8.4%, 63.7%, 11.4%)
CIE-LABlab(82.60, -7.82, 62.46)
CIE-LCHlch(82.60, 62.94, 97.14°)
OKLaboklab(84.73% -0.0266 0.1418)
OKLCHoklch(84.73% 0.144 100.6)
XYZxyz(55.2021, 61.4059, 16.9258)
Luminance0.6140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF52 #5265E2
analogous
#E28752 #E2CF52 #ADE252
triadic
#E2CF52 #52E2CF #CF52E2
tetradic
#E2CF52 #52E287 #5265E2 #E252AD
square
#E2CF52 #52E287 #5265E2 #E252AD
split-complementary
#E2CF52 #52ADE2 #8752E2
monochromatic
#9F8D1B #D3BC23 #E2CF52 #EBDE86 #F4ECBB

Accessibility & contrast

On white

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

On black

13.28
#E2CF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CF52
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CF52#FFFFFF#000000##000000
##E2CF521.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C943
Deuteranopia (green-blind)
#E7D159
Tritanopia (blue-blind)
#F2C1B5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2cf52;
/* rgb */ color: rgb(226, 207, 82);
/* oklch */ color: oklch(84.7% 0.144 100.6);
Tailwind
colors: {
  custom: {
    50: '#eedd88',
    500: '#e2cf52',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf52;
$custom-light: #eedd88;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf52",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 52.083,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8473,
    "c": 0.14431,
    "h": 100.6
  },
  "luminance": 0.61404
}

Semantic roles & 50–950 ramp

primary
#E2CF52
secondary
#3644A2
accent
#2CD312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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