#E0BC42#E0BC42

#E0BC42 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.5% C 0.142 H 92.2°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#E0BC42
RGBrgb(224, 188, 66)
HSLhsl(46, 72%, 57%)
HSVhsv(46, 71%, 88%)
CMYKcmyk(0%, 16.1%, 70.5%, 12.2%)
CIE-LABlab(77.41, 0.23, 63.55)
CIE-LCHlch(77.41, 63.55, 89.79°)
OKLaboklab(80.54% -0.0053 0.1416)
OKLCHoklch(80.54% 0.142 92.2)
XYZxyz(49.7097, 52.2100, 12.6124)
Luminance0.5221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0BC42 #4266E0
analogous
#E06D42 #E0BC42 #B5E042
triadic
#E0BC42 #42E0BC #BC42E0
tetradic
#E0BC42 #42E06D #4266E0 #E042B5
square
#E0BC42 #42E06D #4266E0 #E042B5
split-complementary
#E0BC42 #42B5E0 #6D42E0
monochromatic
#907518 #C59F20 #E0BC42 #E9CF77 #F1E1AB

Accessibility & contrast

On white

1.84
#E0BC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#E0BC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0BC42
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0BC42#FFFFFF#000000##000000
##E0BC421.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B931
Deuteranopia (green-blind)
#D9C448
Tritanopia (blue-blind)
#F2ADA3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e0bc42;
/* rgb */ color: rgb(224, 188, 66);
/* oklch */ color: oklch(80.5% 0.142 92.2);
Tailwind
colors: {
  custom: {
    50: '#eecf7d',
    500: '#e0bc42',
    950: '#000000',
  },
}
SCSS
$custom: #e0bc42;
$custom-light: #eecf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#e0bc42",
  "rgb": {
    "r": 224,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 46.329,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80541,
    "c": 0.1417,
    "h": 92.2
  },
  "luminance": 0.52207
}

Semantic roles & 50–950 ramp

primary
#E0BC42
secondary
#314895
accent
#63EF39
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #E0BC42

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

Preview Lab → · Contrast checker → · Palette generator →

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