#E2AF2F#E2AF2F

#E2AF2F is a light, vivid orange. Relative luminance 0.470; OKLCH L 78.0% C 0.147 H 85.2°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#E2AF2F
RGBrgb(226, 175, 47)
HSLhsl(43, 76%, 54%)
HSVhsv(43, 79%, 89%)
CMYKcmyk(0%, 22.6%, 79.2%, 11.4%)
CIE-LABlab(74.21, 7.12, 67.52)
CIE-LCHlch(74.21, 67.90, 83.98°)
OKLaboklab(78.04% 0.0123 0.1462)
OKLCHoklch(78.04% 0.147 85.2)
XYZxyz(47.2102, 47.0374, 9.2814)
Luminance0.4703 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AF2F #2F62E2
analogous
#E2552F #E2AF2F #BBE22F
triadic
#E2AF2F #2FE2AF #AF2FE2
tetradic
#E2AF2F #2FE255 #2F62E2 #E22FBB
square
#E2AF2F #2FE255 #2F62E2 #E22FBB
split-complementary
#E2AF2F #2FBBE2 #552FE2
monochromatic
#846412 #BA8C1A #E2AF2F #E9C465 #F1D89A

Accessibility & contrast

On white

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

On black

10.41
#E2AF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AF2F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AF2F#FFFFFF#000000##000000
##E2AF2F1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF13
Deuteranopia (green-blind)
#D2BC36
Tritanopia (blue-blind)
#F59E97
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #e2af2f;
/* rgb */ color: rgb(226, 175, 47);
/* oklch */ color: oklch(78.0% 0.147 85.2);
Tailwind
colors: {
  custom: {
    50: '#f0c672',
    500: '#e2af2f',
    950: '#000000',
  },
}
SCSS
$custom: #e2af2f;
$custom-light: #f0c672;
$custom-dark: #000000;
JSON
{
  "hex": "#e2af2f",
  "rgb": {
    "r": 226,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 42.905,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78035,
    "c": 0.14672,
    "h": 85.2
  },
  "luminance": 0.47034
}

Semantic roles & 50–950 ramp

primary
#E2AF2F
secondary
#90A6DD
accent
#6BF236
background
#FFFCF7
surface
#FFF8ED
border
#D7D1C8
text
#181309
muted
#86827B

Preview Lab

Preview with #E2AF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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