#E2CB5E#E2CB5E

#E2CB5E is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 84.0% C 0.131 H 97.5°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#E2CB5E
RGBrgb(226, 203, 94)
HSLhsl(50, 69%, 63%)
HSVhsv(50, 58%, 89%)
CMYKcmyk(0%, 10.2%, 58.4%, 11.4%)
CIE-LABlab(81.67, -4.99, 56.19)
CIE-LCHlch(81.67, 56.41, 95.07°)
OKLaboklab(84.03% -0.0172 0.1301)
OKLCHoklch(84.03% 0.131 97.5)
XYZxyz(54.7425, 59.6912, 19.2255)
Luminance0.5969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CB5E #5E75E2
analogous
#E2895E #E2CB5E #B7E25E
triadic
#E2CB5E #5EE2CB #CB5EE2
tetradic
#E2CB5E #5EE289 #5E75E2 #E25EB7
square
#E2CB5E #5EE289 #5E75E2 #E25EB7
split-complementary
#E2CB5E #5EB7E2 #895EE2
monochromatic
#A7901E #D9BA2A #E2CB5E #EBDC92 #F5ECC6

Accessibility & contrast

On white

1.62
#E2CB5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#E2CB5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CB5E
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CB5E#FFFFFF#000000##000000
##E2CB5E1.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC653
Deuteranopia (green-blind)
#E3CE63
Tritanopia (blue-blind)
#F2BEB3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e2cb5e;
/* rgb */ color: rgb(226, 203, 94);
/* oklch */ color: oklch(84.0% 0.131 97.5);
Tailwind
colors: {
  custom: {
    50: '#eeda8f',
    500: '#e2cb5e',
    950: '#000000',
  },
}
SCSS
$custom: #e2cb5e;
$custom-light: #eeda8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cb5e",
  "rgb": {
    "r": 226,
    "g": 203,
    "b": 94
  },
  "hsl": {
    "h": 49.545,
    "s": 69.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.8403,
    "c": 0.13124,
    "h": 97.5
  },
  "luminance": 0.59689
}

Semantic roles & 50–950 ramp

primary
#E2CB5E
secondary
#3B4EAA
accent
#35D114
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2CB5E

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

Preview Lab → · Contrast checker → · Palette generator →

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