#E2BC2F#E2BC2F

#E2BC2F is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.6% C 0.153 H 92.7°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#E2BC2F
RGBrgb(226, 188, 47)
HSLhsl(47, 76%, 54%)
HSVhsv(47, 79%, 89%)
CMYKcmyk(0%, 16.8%, 79.2%, 11.4%)
CIE-LABlab(77.49, 0.30, 70.45)
CIE-LCHlch(77.49, 70.45, 89.75°)
OKLaboklab(80.61% -0.0072 0.1525)
OKLCHoklch(80.61% 0.153 92.7)
XYZxyz(49.8633, 52.3435, 10.1657)
Luminance0.5234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BC2F #2F55E2
analogous
#E2632F #E2BC2F #AEE22F
triadic
#E2BC2F #2FE2BC #BC2FE2
tetradic
#E2BC2F #2FE263 #2F55E2 #E22FAE
square
#E2BC2F #2FE263 #2F55E2 #E22FAE
split-complementary
#E2BC2F #2FAEE2 #632FE2
monochromatic
#846C12 #BA981A #E2BC2F #E9CD65 #F1DF9A

Accessibility & contrast

On white

1.83
#E2BC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#E2BC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BC2F
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BC2F#FFFFFF#000000##000000
##E2BC2F1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B909
Deuteranopia (green-blind)
#DBC438
Tritanopia (blue-blind)
#F5ACA2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e2bc2f;
/* rgb */ color: rgb(226, 188, 47);
/* oklch */ color: oklch(80.6% 0.153 92.7);
Tailwind
colors: {
  custom: {
    50: '#f0cf74',
    500: '#e2bc2f',
    950: '#000000',
  },
}
SCSS
$custom: #e2bc2f;
$custom-light: #f0cf74;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bc2f",
  "rgb": {
    "r": 226,
    "g": 188,
    "b": 47
  },
  "hsl": {
    "h": 47.263,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80612,
    "c": 0.15269,
    "h": 92.7
  },
  "luminance": 0.5234
}

Semantic roles & 50–950 ramp

primary
#E2BC2F
secondary
#2B3F8A
accent
#5EF236
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#171309
muted
#85837D

Preview Lab

Preview with #E2BC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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