#E2B92F#E2B92F

#E2B92F is a light, vivid yellow. Relative luminance 0.511; OKLCH L 80.0% C 0.151 H 91.0°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#E2B92F
RGBrgb(226, 185, 47)
HSLhsl(46, 76%, 54%)
HSVhsv(46, 79%, 89%)
CMYKcmyk(0%, 18.1%, 79.2%, 11.4%)
CIE-LABlab(76.72, 1.87, 69.77)
CIE-LCHlch(76.72, 69.80, 88.47°)
OKLaboklab(80.01% -0.0027 0.1511)
OKLCHoklch(80.01% 0.151 91)
XYZxyz(49.2290, 51.0751, 9.9543)
Luminance0.5107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2B92F #2F58E2
analogous
#E25F2F #E2B92F #B1E22F
triadic
#E2B92F #2FE2B9 #B92FE2
tetradic
#E2B92F #2FE25F #2F58E2 #E22FB1
square
#E2B92F #2FE25F #2F58E2 #E22FB1
split-complementary
#E2B92F #2FB1E2 #5F2FE2
monochromatic
#846A12 #BA951A #E2B92F #E9CB65 #F1DD9A

Accessibility & contrast

On white

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

On black

11.21
#E2B92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2B92F
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2B92F#FFFFFF#000000##000000
##E2B92F1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB70C
Deuteranopia (green-blind)
#D9C238
Tritanopia (blue-blind)
#F5A99F
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #e2b92f;
/* rgb */ color: rgb(226, 185, 47);
/* oklch */ color: oklch(80.0% 0.151 91.0);
Tailwind
colors: {
  custom: {
    50: '#f0cd73',
    500: '#e2b92f',
    950: '#000000',
  },
}
SCSS
$custom: #e2b92f;
$custom-light: #f0cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#e2b92f",
  "rgb": {
    "r": 226,
    "g": 185,
    "b": 47
  },
  "hsl": {
    "h": 46.257,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80011,
    "c": 0.15108,
    "h": 91
  },
  "luminance": 0.51072
}

Semantic roles & 50–950 ramp

primary
#E2B92F
secondary
#2B418A
accent
#61F236
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#181309
muted
#86837D

Preview Lab

Preview with #E2B92F

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

Preview Lab → · Contrast checker → · Palette generator →

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