#E2AF23#E2AF23

#E2AF23 is a light, vivid orange. Relative luminance 0.469; OKLCH L 78.0% C 0.152 H 86.1°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#E2AF23
RGBrgb(226, 175, 35)
HSLhsl(44, 77%, 51%)
HSVhsv(44, 85%, 89%)
CMYKcmyk(0%, 22.6%, 84.5%, 11.4%)
CIE-LABlab(74.16, 6.77, 71.07)
CIE-LCHlch(74.16, 71.39, 84.56°)
OKLaboklab(77.98% 0.0102 0.1514)
OKLCHoklch(77.98% 0.152 86.1)
XYZxyz(47.0005, 46.9535, 8.1773)
Luminance0.4695 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AF23 #2356E2
analogous
#E24F23 #E2AF23 #B5E223
triadic
#E2AF23 #23E2AF #AF23E2
tetradic
#E2AF23 #23E24F #2356E2 #E223B5
square
#E2AF23 #23E24F #2356E2 #E223B5
split-complementary
#E2AF23 #23B5E2 #4F23E2
monochromatic
#7A5E10 #B18817 #E2AF23 #E9C359 #F0D68F

Accessibility & contrast

On white

2.02
#E2AF23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#E2AF23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AF23
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AF23#FFFFFF#000000##000000
##E2AF231.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AE00
Deuteranopia (green-blind)
#D2BC2C
Tritanopia (blue-blind)
#F69E96
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #e2af23;
/* rgb */ color: rgb(226, 175, 35);
/* oklch */ color: oklch(78.0% 0.152 86.1);
Tailwind
colors: {
  custom: {
    50: '#f1c66d',
    500: '#e2af23',
    950: '#000000',
  },
}
SCSS
$custom: #e2af23;
$custom-light: #f1c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2af23",
  "rgb": {
    "r": 226,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 43.979,
    "s": 76.707,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77975,
    "c": 0.15172,
    "h": 86.1
  },
  "luminance": 0.4695
}

Semantic roles & 50–950 ramp

primary
#E2AF23
secondary
#869DDB
accent
#67F335
background
#FFFCF7
surface
#FFF8ED
border
#D7D1C8
text
#181208
muted
#86817B

Preview Lab

Preview with #E2AF23

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

Preview Lab → · Contrast checker → · Palette generator →

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