#E2B939#E2B939

#E2B939 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 80.1% C 0.146 H 90.3°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#E2B939
RGBrgb(226, 185, 57)
HSLhsl(45, 74%, 55%)
HSVhsv(45, 75%, 89%)
CMYKcmyk(0%, 18.1%, 74.8%, 11.4%)
CIE-LABlab(76.78, 2.24, 66.42)
CIE-LCHlch(76.78, 66.46, 88.06°)
OKLaboklab(80.07% -0.0006 0.1459)
OKLCHoklch(80.07% 0.146 90.3)
XYZxyz(49.4544, 51.1652, 11.1412)
Luminance0.5116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2B939 #3962E2
analogous
#E26539 #E2B939 #B6E239
triadic
#E2B939 #39E2B9 #B939E2
tetradic
#E2B939 #39E265 #3962E2 #E239B6
square
#E2B939 #39E265 #3962E2 #E239B6
split-complementary
#E2B939 #39B6E2 #6539E2
monochromatic
#8C6F15 #C1991C #E2B939 #EACC6E #F2DFA4

Accessibility & contrast

On white

1.87
#E2B939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#E2B939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2B939
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2B939#FFFFFF#000000##000000
##E2B9391.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB723
Deuteranopia (green-blind)
#D8C240
Tritanopia (blue-blind)
#F5A9A0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #e2b939;
/* rgb */ color: rgb(226, 185, 57);
/* oklch */ color: oklch(80.1% 0.146 90.3);
Tailwind
colors: {
  custom: {
    50: '#f0cd78',
    500: '#e2b939',
    950: '#000000',
  },
}
SCSS
$custom: #e2b939;
$custom-light: #f0cd78;
$custom-dark: #000000;
JSON
{
  "hex": "#e2b939",
  "rgb": {
    "r": 226,
    "g": 185,
    "b": 57
  },
  "hsl": {
    "h": 45.444,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80072,
    "c": 0.1459,
    "h": 90.3
  },
  "luminance": 0.51162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2B939

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

Preview Lab → · Contrast checker → · Palette generator →

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