#E2B223#E2B223

#E2B223 is a light, vivid orange. Relative luminance 0.481; OKLCH L 78.6% C 0.153 H 87.9°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#E2B223
RGBrgb(226, 178, 35)
HSLhsl(45, 77%, 51%)
HSVhsv(45, 85%, 89%)
CMYKcmyk(0%, 21.2%, 84.5%, 11.4%)
CIE-LABlab(74.91, 5.19, 71.69)
CIE-LCHlch(74.91, 71.88, 85.86°)
OKLaboklab(78.57% 0.0057 0.1527)
OKLCHoklch(78.57% 0.153 87.9)
XYZxyz(47.5909, 48.1343, 8.3740)
Luminance0.4813 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2B223 #2353E2
analogous
#E25223 #E2B223 #B3E223
triadic
#E2B223 #23E2B2 #B223E2
tetradic
#E2B223 #23E252 #2353E2 #E223B3
square
#E2B223 #23E252 #2353E2 #E223B3
split-complementary
#E2B223 #23B3E2 #5223E2
monochromatic
#7A6010 #B18A17 #E2B223 #E9C559 #F0D88F

Accessibility & contrast

On white

1.98
#E2B223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#E2B223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2B223
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2B223#FFFFFF#000000##000000
##E2B2231.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#D4BE2D
Tritanopia (blue-blind)
#F6A199
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #e2b223;
/* rgb */ color: rgb(226, 178, 35);
/* oklch */ color: oklch(78.6% 0.153 87.9);
Tailwind
colors: {
  custom: {
    50: '#f1c86d',
    500: '#e2b223',
    950: '#000000',
  },
}
SCSS
$custom: #e2b223;
$custom-light: #f1c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2b223",
  "rgb": {
    "r": 226,
    "g": 178,
    "b": 35
  },
  "hsl": {
    "h": 44.921,
    "s": 76.707,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78565,
    "c": 0.15285,
    "h": 87.9
  },
  "luminance": 0.48131
}

Semantic roles & 50–950 ramp

primary
#E2B223
secondary
#869BDB
accent
#64F335
background
#FFFCF7
surface
#FFF8ED
border
#D7D1C8
text
#181308
muted
#86827B

Preview Lab

Preview with #E2B223

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

Preview Lab → · Contrast checker → · Palette generator →

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