#E2CE57#E2CE57

#E2CE57 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.6% C 0.140 H 99.8°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#E2CE57
RGBrgb(226, 206, 87)
HSLhsl(51, 71%, 61%)
HSVhsv(51, 62%, 89%)
CMYKcmyk(0%, 8.8%, 61.5%, 11.4%)
CIE-LABlab(82.38, -7.00, 60.09)
CIE-LCHlch(82.38, 60.50, 96.64°)
OKLaboklab(84.57% -0.0237 0.1375)
OKLCHoklch(84.57% 0.14 99.8)
XYZxyz(55.1579, 61.0018, 17.8841)
Luminance0.6100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CE57 #576BE2
analogous
#E28957 #E2CE57 #B1E257
triadic
#E2CE57 #57E2CE #CE57E2
tetradic
#E2CE57 #57E289 #576BE2 #E257B1
square
#E2CE57 #57E289 #576BE2 #E257B1
split-complementary
#E2CE57 #57B1E2 #8957E2
monochromatic
#A38F1C #D7BD25 #E2CE57 #EBDD8B #F4ECBF

Accessibility & contrast

On white

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

On black

13.20
#E2CE57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CE57
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CE57#FFFFFF#000000##000000
##E2CE571.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94A
Deuteranopia (green-blind)
#E6D05D
Tritanopia (blue-blind)
#F2C0B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e2ce57;
/* rgb */ color: rgb(226, 206, 87);
/* oklch */ color: oklch(84.6% 0.140 99.8);
Tailwind
colors: {
  custom: {
    50: '#eedc8b',
    500: '#e2ce57',
    950: '#000000',
  },
}
SCSS
$custom: #e2ce57;
$custom-light: #eedc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ce57",
  "rgb": {
    "r": 226,
    "g": 206,
    "b": 87
  },
  "hsl": {
    "h": 51.367,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84572,
    "c": 0.13955,
    "h": 99.8
  },
  "luminance": 0.60999
}

Semantic roles & 50–950 ramp

primary
#E2CE57
secondary
#3848A5
accent
#2FD313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CE57

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

Preview Lab → · Contrast checker → · Palette generator →

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