#E2B823#E2B823

#E2B823 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.8% C 0.156 H 91.2°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#E2B823
RGBrgb(226, 184, 35)
HSLhsl(47, 77%, 51%)
HSVhsv(47, 85%, 89%)
CMYKcmyk(0%, 18.6%, 84.5%, 11.4%)
CIE-LABlab(76.42, 2.04, 72.94)
CIE-LCHlch(76.42, 72.97, 88.40°)
OKLaboklab(79.76% -0.0032 0.1555)
OKLCHoklch(79.76% 0.156 91.2)
XYZxyz(48.8109, 50.5743, 8.7807)
Luminance0.5057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2B823 #234DE2
analogous
#E25823 #E2B823 #ADE223
triadic
#E2B823 #23E2B8 #B823E2
tetradic
#E2B823 #23E258 #234DE2 #E223AD
square
#E2B823 #23E258 #234DE2 #E223AD
split-complementary
#E2B823 #23ADE2 #5823E2
monochromatic
#7A6310 #B18F17 #E2B823 #E9C959 #F0DB8F

Accessibility & contrast

On white

1.89
#E2B823 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#E2B823 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2B823
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2B823#FFFFFF#000000##000000
##E2B8231.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#D8C12F
Tritanopia (blue-blind)
#F5A89E
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #e2b823;
/* rgb */ color: rgb(226, 184, 35);
/* oklch */ color: oklch(79.8% 0.156 91.2);
Tailwind
colors: {
  custom: {
    50: '#f0cc6e',
    500: '#e2b823',
    950: '#000000',
  },
}
SCSS
$custom: #e2b823;
$custom-light: #f0cc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2b823",
  "rgb": {
    "r": 226,
    "g": 184,
    "b": 35
  },
  "hsl": {
    "h": 46.806,
    "s": 76.707,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79755,
    "c": 0.15554,
    "h": 91.2
  },
  "luminance": 0.50571
}

Semantic roles & 50–950 ramp

primary
#E2B823
secondary
#273B82
accent
#5EF335
background
#FFFDFB
surface
#FFF9F1
border
#D7D2CB
text
#181308
muted
#86827D

Preview Lab

Preview with #E2B823

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

Preview Lab → · Contrast checker → · Palette generator →

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