#E2CB55#E2CB55

#E2CB55 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.9% C 0.139 H 98.3°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#E2CB55
RGBrgb(226, 203, 85)
HSLhsl(50, 71%, 61%)
HSVhsv(50, 62%, 89%)
CMYKcmyk(0%, 10.2%, 62.4%, 11.4%)
CIE-LABlab(81.59, -5.59, 60.09)
CIE-LCHlch(81.59, 60.35, 95.32°)
OKLaboklab(83.94% -0.0199 0.1373)
OKLCHoklch(83.94% 0.139 98.3)
XYZxyz(54.3620, 59.5390, 17.2213)
Luminance0.5954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CB55 #556CE2
analogous
#E28455 #E2CB55 #B2E255
triadic
#E2CB55 #55E2CB #CB55E2
tetradic
#E2CB55 #55E284 #556CE2 #E255B2
square
#E2CB55 #55E284 #556CE2 #E255B2
split-complementary
#E2CB55 #55B2E2 #8455E2
monochromatic
#A18B1B #D5B924 #E2CB55 #EBDB89 #F4EBBE

Accessibility & contrast

On white

1.63
#E2CB55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#E2CB55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CB55
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CB55#FFFFFF#000000##000000
##E2CB551.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC647
Deuteranopia (green-blind)
#E4CE5B
Tritanopia (blue-blind)
#F3BDB2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e2cb55;
/* rgb */ color: rgb(226, 203, 85);
/* oklch */ color: oklch(83.9% 0.139 98.3);
Tailwind
colors: {
  custom: {
    50: '#eeda8a',
    500: '#e2cb55',
    950: '#000000',
  },
}
SCSS
$custom: #e2cb55;
$custom-light: #eeda8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cb55",
  "rgb": {
    "r": 226,
    "g": 203,
    "b": 85
  },
  "hsl": {
    "h": 50.213,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83938,
    "c": 0.13869,
    "h": 98.3
  },
  "luminance": 0.59537
}

Semantic roles & 50–950 ramp

primary
#E2CB55
secondary
#3749A4
accent
#32D313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2CB55

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

Preview Lab → · Contrast checker → · Palette generator →

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