#E2B325#E2B325

#E2B325 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.8% C 0.153 H 88.3°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#E2B325
RGBrgb(226, 179, 37)
HSLhsl(45, 77%, 52%)
HSVhsv(45, 84%, 89%)
CMYKcmyk(0%, 20.8%, 83.6%, 11.4%)
CIE-LABlab(75.17, 4.71, 71.37)
CIE-LCHlch(75.17, 71.53, 86.22°)
OKLaboklab(78.77% 0.0045 0.1525)
OKLCHoklch(78.77% 0.153 88.3)
XYZxyz(47.8212, 48.5459, 8.6015)
Luminance0.4854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2B325 #2554E2
analogous
#E25525 #E2B325 #B3E225
triadic
#E2B325 #25E2B3 #B325E2
tetradic
#E2B325 #25E255 #2554E2 #E225B3
square
#E2B325 #25E255 #2554E2 #E225B3
split-complementary
#E2B325 #25B3E2 #5525E2
monochromatic
#7C6111 #B28C18 #E2B325 #E9C65B #F0D991

Accessibility & contrast

On white

1.96
#E2B325 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#E2B325 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2B325
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2B325#FFFFFF#000000##000000
##E2B3251.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B200
Deuteranopia (green-blind)
#D5BE2F
Tritanopia (blue-blind)
#F5A29A
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #e2b325;
/* rgb */ color: rgb(226, 179, 37);
/* oklch */ color: oklch(78.8% 0.153 88.3);
Tailwind
colors: {
  custom: {
    50: '#f0c96e',
    500: '#e2b325',
    950: '#000000',
  },
}
SCSS
$custom: #e2b325;
$custom-light: #f0c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2b325",
  "rgb": {
    "r": 226,
    "g": 179,
    "b": 37
  },
  "hsl": {
    "h": 45.079,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.78771,
    "c": 0.15253,
    "h": 88.3
  },
  "luminance": 0.48543
}

Semantic roles & 50–950 ramp

primary
#E2B325
secondary
#889DDB
accent
#64F335
background
#FFFCF7
surface
#FFF8ED
border
#D7D1C8
text
#181308
muted
#86827B

Preview Lab

Preview with #E2B325

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

Preview Lab → · Contrast checker → · Palette generator →

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