#E2BB3F#E2BB3F

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

Color values

HEX#E2BB3F
RGBrgb(226, 187, 63)
HSLhsl(46, 74%, 57%)
HSVhsv(46, 72%, 89%)
CMYKcmyk(0%, 17.3%, 72.1%, 11.4%)
CIE-LABlab(77.32, 1.46, 64.70)
CIE-LCHlch(77.32, 64.72, 88.70°)
OKLaboklab(80.51% -0.0022 0.1434)
OKLCHoklch(80.51% 0.143 90.9)
XYZxyz(50.0343, 52.0713, 12.1171)
Luminance0.5207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BB3F #3F66E2
analogous
#E26A3F #E2BB3F #B8E23F
triadic
#E2BB3F #3FE2BB #BB3FE2
tetradic
#E2BB3F #3FE26A #3F66E2 #E23FB8
square
#E2BB3F #3FE26A #3F66E2 #E23FB8
split-complementary
#E2BB3F #3FB8E2 #6A3FE2
monochromatic
#917316 #C69E1E #E2BB3F #EACE74 #F2E1A9

Accessibility & contrast

On white

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

On black

11.41
#E2BB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BB3F
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BB3F#FFFFFF#000000##000000
##E2BB3F1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92C
Deuteranopia (green-blind)
#D9C446
Tritanopia (blue-blind)
#F4ACA2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #e2bb3f;
/* rgb */ color: rgb(226, 187, 63);
/* oklch */ color: oklch(80.5% 0.143 90.9);
Tailwind
colors: {
  custom: {
    50: '#efcf7c',
    500: '#e2bb3f',
    950: '#000000',
  },
}
SCSS
$custom: #e2bb3f;
$custom-light: #efcf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2bb3f",
  "rgb": {
    "r": 226,
    "g": 187,
    "b": 63
  },
  "hsl": {
    "h": 45.644,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80513,
    "c": 0.14343,
    "h": 90.9
  },
  "luminance": 0.52068
}

Semantic roles & 50–950 ramp

primary
#E2BB3F
secondary
#304896
accent
#64F037
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #E2BB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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