#E3CF52#E3CF52

#E3CF52 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.8% C 0.144 H 100.2°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#E3CF52
RGBrgb(227, 207, 82)
HSLhsl(52, 72%, 61%)
HSVhsv(52, 64%, 89%)
CMYKcmyk(0%, 8.8%, 63.9%, 11%)
CIE-LABlab(82.68, -7.40, 62.57)
CIE-LCHlch(82.68, 63.01, 96.75°)
OKLaboklab(84.82% -0.0255 0.1421)
OKLCHoklch(84.82% 0.144 100.2)
XYZxyz(55.5167, 61.5681, 16.9406)
Luminance0.6157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3CF52 #5266E3
analogous
#E38652 #E3CF52 #AEE352
triadic
#E3CF52 #52E3CF #CF52E3
tetradic
#E3CF52 #52E386 #5266E3 #E352AE
square
#E3CF52 #52E386 #5266E3 #E352AE
split-complementary
#E3CF52 #52AEE3 #8652E3
monochromatic
#A18E1A #D5BD23 #E3CF52 #ECDE87 #F4ECBB

Accessibility & contrast

On white

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

On black

13.31
#E3CF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3CF52
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3CF52#FFFFFF#000000##000000
##E3CF521.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e3cf52;
/* rgb */ color: rgb(227, 207, 82);
/* oklch */ color: oklch(84.8% 0.144 100.2);
Tailwind
colors: {
  custom: {
    50: '#efdd88',
    500: '#e3cf52',
    950: '#000000',
  },
}
SCSS
$custom: #e3cf52;
$custom-light: #efdd88;
$custom-dark: #000000;
JSON
{
  "hex": "#e3cf52",
  "rgb": {
    "r": 227,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 51.724,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8482,
    "c": 0.14432,
    "h": 100.2
  },
  "luminance": 0.61566
}

Semantic roles & 50–950 ramp

primary
#E3CF52
secondary
#3645A3
accent
#2CD411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E3CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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