#E0BC40#E0BC40

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

Color values

HEX#E0BC40
RGBrgb(224, 188, 64)
HSLhsl(47, 72%, 56%)
HSVhsv(47, 71%, 88%)
CMYKcmyk(0%, 16.1%, 71.4%, 12.2%)
CIE-LABlab(77.39, 0.13, 64.32)
CIE-LCHlch(77.39, 64.32, 89.88°)
OKLaboklab(80.53% -0.0058 0.1429)
OKLCHoklch(80.53% 0.143 92.3)
XYZxyz(49.6518, 52.1868, 12.3073)
Luminance0.5218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0BC40 #4064E0
analogous
#E06C40 #E0BC40 #B4E040
triadic
#E0BC40 #40E0BC #BC40E0
tetradic
#E0BC40 #40E06C #4064E0 #E040B4
square
#E0BC40 #40E06C #4064E0 #E040B4
split-complementary
#E0BC40 #40B4E0 #6C40E0
monochromatic
#8E7417 #C39E20 #E0BC40 #E9CE75 #F1E1A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E0BC40#FFFFFF#000000##000000
##E0BC401.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)
#D0B92E
Deuteranopia (green-blind)
#D9C447
Tritanopia (blue-blind)
#F2ADA3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e0bc40;
/* rgb */ color: rgb(224, 188, 64);
/* oklch */ color: oklch(80.5% 0.143 92.3);
Tailwind
colors: {
  custom: {
    50: '#eecf7c',
    500: '#e0bc40',
    950: '#000000',
  },
}
SCSS
$custom: #e0bc40;
$custom-light: #eecf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#e0bc40",
  "rgb": {
    "r": 224,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 46.5,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80525,
    "c": 0.14298,
    "h": 92.3
  },
  "luminance": 0.52184
}

Semantic roles & 50–950 ramp

primary
#E0BC40
secondary
#314794
accent
#62EF39
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #E0BC40

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

Preview Lab → · Contrast checker → · Palette generator →

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