#E2B72F#E2B72F

#E2B72F is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.6% C 0.150 H 89.9°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#E2B72F
RGBrgb(226, 183, 47)
HSLhsl(46, 76%, 54%)
HSVhsv(46, 79%, 89%)
CMYKcmyk(0%, 19%, 79.2%, 11.4%)
CIE-LABlab(76.22, 2.91, 69.32)
CIE-LCHlch(76.22, 69.38, 87.59°)
OKLaboklab(79.61% 0.0003 0.1501)
OKLCHoklch(79.61% 0.15 89.9)
XYZxyz(48.8136, 50.2442, 9.8158)
Luminance0.5024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2B72F #2F5AE2
analogous
#E25E2F #E2B72F #B3E22F
triadic
#E2B72F #2FE2B7 #B72FE2
tetradic
#E2B72F #2FE25E #2F5AE2 #E22FB3
square
#E2B72F #2FE25E #2F5AE2 #E22FB3
split-complementary
#E2B72F #2FB3E2 #5E2FE2
monochromatic
#846912 #BA931A #E2B72F #E9CA65 #F1DC9A

Accessibility & contrast

On white

1.90
#E2B72F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#E2B72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2B72F
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2B72F#FFFFFF#000000##000000
##E2B72F1.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB50D
Deuteranopia (green-blind)
#D7C138
Tritanopia (blue-blind)
#F5A79E
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #e2b72f;
/* rgb */ color: rgb(226, 183, 47);
/* oklch */ color: oklch(79.6% 0.150 89.9);
Tailwind
colors: {
  custom: {
    50: '#f0cc73',
    500: '#e2b72f',
    950: '#000000',
  },
}
SCSS
$custom: #e2b72f;
$custom-light: #f0cc73;
$custom-dark: #000000;
JSON
{
  "hex": "#e2b72f",
  "rgb": {
    "r": 226,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 45.587,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79613,
    "c": 0.15008,
    "h": 89.9
  },
  "luminance": 0.50241
}

Semantic roles & 50–950 ramp

primary
#E2B72F
secondary
#2B428A
accent
#63F236
background
#FFFDFB
surface
#FFF9F1
border
#D7D2CB
text
#181309
muted
#86827D

Preview Lab

Preview with #E2B72F

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

Preview Lab → · Contrast checker → · Palette generator →

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