#E2CF5B#E2CF5B

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

Color values

HEX#E2CF5B
RGBrgb(226, 207, 91)
HSLhsl(52, 70%, 62%)
HSVhsv(52, 60%, 89%)
CMYKcmyk(0%, 8.4%, 59.7%, 11.4%)
CIE-LABlab(82.67, -7.24, 58.66)
CIE-LCHlch(82.67, 59.11, 97.03°)
OKLaboklab(84.82% -0.024 0.135)
OKLCHoklch(84.82% 0.137 100.1)
XYZxyz(55.5673, 61.5520, 18.8492)
Luminance0.6155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF5B #5B6EE2
analogous
#E28C5B #E2CF5B #B1E25B
triadic
#E2CF5B #5BE2CF #CF5BE2
tetradic
#E2CF5B #5BE28C #5B6EE2 #E25BB1
square
#E2CF5B #5BE28C #5B6EE2 #E25BB1
split-complementary
#E2CF5B #5BB1E2 #8C5BE2
monochromatic
#A5921D #D9C027 #E2CF5B #EBDE8F #F4EDC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CF5B#FFFFFF#000000##000000
##E2CF5B1.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)
#E1CA4E
Deuteranopia (green-blind)
#E6D161
Tritanopia (blue-blind)
#F2C2B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2cf5b;
/* rgb */ color: rgb(226, 207, 91);
/* oklch */ color: oklch(84.8% 0.137 100.1);
Tailwind
colors: {
  custom: {
    50: '#eedd8e',
    500: '#e2cf5b',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf5b;
$custom-light: #eedd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf5b",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 51.556,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84817,
    "c": 0.13713,
    "h": 100.1
  },
  "luminance": 0.6155
}

Semantic roles & 50–950 ramp

primary
#E2CF5B
secondary
#3949A8
accent
#2ED214
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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