#E2B837#E2B837

#E2B837 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.9% C 0.146 H 89.8°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#E2B837
RGBrgb(226, 184, 55)
HSLhsl(45, 75%, 55%)
HSVhsv(45, 76%, 89%)
CMYKcmyk(0%, 18.6%, 75.7%, 11.4%)
CIE-LABlab(76.51, 2.69, 66.89)
CIE-LCHlch(76.51, 66.94, 87.70°)
OKLaboklab(79.86% 0.0004 0.1465)
OKLCHoklch(79.86% 0.147 89.8)
XYZxyz(49.1970, 50.7287, 10.8141)
Luminance0.5073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2B837 #3761E2
analogous
#E26237 #E2B837 #B7E237
triadic
#E2B837 #37E2B8 #B837E2
tetradic
#E2B837 #37E262 #3761E2 #E237B7
square
#E2B837 #37E262 #3761E2 #E237B7
split-complementary
#E2B837 #37B7E2 #6237E2
monochromatic
#8B6D14 #C0981C #E2B837 #EACB6C #F2DEA2

Accessibility & contrast

On white

1.88
#E2B837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#E2B837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2B837
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2B837#FFFFFF#000000##000000
##E2B8371.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB620
Deuteranopia (green-blind)
#D8C23E
Tritanopia (blue-blind)
#F5A89F
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #e2b837;
/* rgb */ color: rgb(226, 184, 55);
/* oklch */ color: oklch(79.9% 0.146 89.8);
Tailwind
colors: {
  custom: {
    50: '#f0cc77',
    500: '#e2b837',
    950: '#000000',
  },
}
SCSS
$custom: #e2b837;
$custom-light: #f0cc77;
$custom-dark: #000000;
JSON
{
  "hex": "#e2b837",
  "rgb": {
    "r": 226,
    "g": 184,
    "b": 55
  },
  "hsl": {
    "h": 45.263,
    "s": 74.672,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79859,
    "c": 0.1465,
    "h": 89.8
  },
  "luminance": 0.50726
}

Semantic roles & 50–950 ramp

primary
#E2B837
secondary
#2D4590
accent
#64F137
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#171309
muted
#85837D

Preview Lab

Preview with #E2B837

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

Preview Lab → · Contrast checker → · Palette generator →

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