#E2CB5D#E2CB5D

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

Color values

HEX#E2CB5D
RGBrgb(226, 203, 93)
HSLhsl(50, 70%, 63%)
HSVhsv(50, 59%, 89%)
CMYKcmyk(0%, 10.2%, 58.8%, 11.4%)
CIE-LABlab(81.66, -5.06, 56.64)
CIE-LCHlch(81.66, 56.86, 95.10°)
OKLaboklab(84.02% -0.0175 0.1309)
OKLCHoklch(84.02% 0.132 97.6)
XYZxyz(54.6979, 59.6734, 18.9907)
Luminance0.5967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CB5D #5D74E2
analogous
#E2885D #E2CB5D #B7E25D
triadic
#E2CB5D #5DE2CB #CB5DE2
tetradic
#E2CB5D #5DE288 #5D74E2 #E25DB7
square
#E2CB5D #5DE288 #5D74E2 #E25DB7
split-complementary
#E2CB5D #5DB7E2 #885DE2
monochromatic
#A78F1E #D9BA29 #E2CB5D #EBDC91 #F5ECC5

Accessibility & contrast

On white

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

On black

12.93
#E2CB5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CB5D
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CB5D#FFFFFF#000000##000000
##E2CB5D1.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2cb5d;
/* rgb */ color: rgb(226, 203, 93);
/* oklch */ color: oklch(84.0% 0.132 97.6);
Tailwind
colors: {
  custom: {
    50: '#eeda8f',
    500: '#e2cb5d',
    950: '#000000',
  },
}
SCSS
$custom: #e2cb5d;
$custom-light: #eeda8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cb5d",
  "rgb": {
    "r": 226,
    "g": 203,
    "b": 93
  },
  "hsl": {
    "h": 49.624,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8402,
    "c": 0.1321,
    "h": 97.6
  },
  "luminance": 0.59671
}

Semantic roles & 50–950 ramp

primary
#E2CB5D
secondary
#3A4DA9
accent
#35D214
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2CB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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