#E2CB4B#E2CB4B

#E2CB4B is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.8% C 0.146 H 99.0°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#E2CB4B
RGBrgb(226, 203, 75)
HSLhsl(51, 72%, 59%)
HSVhsv(51, 67%, 89%)
CMYKcmyk(0%, 10.2%, 66.8%, 11.4%)
CIE-LABlab(81.51, -6.19, 64.19)
CIE-LCHlch(81.51, 64.49, 95.51°)
OKLaboklab(83.85% -0.0228 0.1444)
OKLCHoklch(83.85% 0.146 99)
XYZxyz(53.9924, 59.3911, 15.2749)
Luminance0.5939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CB4B #4B62E2
analogous
#E2804B #E2CB4B #AEE24B
triadic
#E2CB4B #4BE2CB #CB4BE2
tetradic
#E2CB4B #4BE280 #4B62E2 #E24BAE
square
#E2CB4B #4BE280 #4B62E2 #E24BAE
split-complementary
#E2CB4B #4BAEE2 #804BE2
monochromatic
#9A8619 #CFB421 #E2CB4B #EADA80 #F3E9B4

Accessibility & contrast

On white

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

On black

12.88
#E2CB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CB4B
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CB4B#FFFFFF#000000##000000
##E2CB4B1.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63A
Deuteranopia (green-blind)
#E4CE52
Tritanopia (blue-blind)
#F3BDB1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2cb4b;
/* rgb */ color: rgb(226, 203, 75);
/* oklch */ color: oklch(83.8% 0.146 99.0);
Tailwind
colors: {
  custom: {
    50: '#efda84',
    500: '#e2cb4b',
    950: '#000000',
  },
}
SCSS
$custom: #e2cb4b;
$custom-light: #efda84;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cb4b",
  "rgb": {
    "r": 226,
    "g": 203,
    "b": 75
  },
  "hsl": {
    "h": 50.861,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83848,
    "c": 0.14621,
    "h": 99
  },
  "luminance": 0.59389
}

Semantic roles & 50–950 ramp

primary
#E2CB4B
secondary
#34449E
accent
#55EF39
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2CB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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