#E2CF57#E2CF57

#E2CF57 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.8% C 0.140 H 100.3°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#E2CF57
RGBrgb(226, 207, 87)
HSLhsl(52, 71%, 61%)
HSVhsv(52, 62%, 89%)
CMYKcmyk(0%, 8.4%, 61.5%, 11.4%)
CIE-LABlab(82.64, -7.50, 60.37)
CIE-LCHlch(82.64, 60.84, 97.09°)
OKLaboklab(84.78% -0.0252 0.1381)
OKLCHoklch(84.78% 0.14 100.3)
XYZxyz(55.3994, 61.4848, 17.9646)
Luminance0.6148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF57 #576AE2
analogous
#E28A57 #E2CF57 #AFE257
triadic
#E2CF57 #57E2CF #CF57E2
tetradic
#E2CF57 #57E28A #576AE2 #E257AF
square
#E2CF57 #57E28A #576AE2 #E257AF
split-complementary
#E2CF57 #57AFE2 #8A57E2
monochromatic
#A3901C #D7BE25 #E2CF57 #EBDE8B #F4EDBF

Accessibility & contrast

On white

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

On black

13.30
#E2CF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CF57
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CF57#FFFFFF#000000##000000
##E2CF571.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2cf57;
/* rgb */ color: rgb(226, 207, 87);
/* oklch */ color: oklch(84.8% 0.140 100.3);
Tailwind
colors: {
  custom: {
    50: '#eedd8b',
    500: '#e2cf57',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf57;
$custom-light: #eedd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf57",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 87
  },
  "hsl": {
    "h": 51.799,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84777,
    "c": 0.1404,
    "h": 100.3
  },
  "luminance": 0.61483
}

Semantic roles & 50–950 ramp

primary
#E2CF57
secondary
#3847A5
accent
#2DD313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CF57

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

Preview Lab → · Contrast checker → · Palette generator →

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