#E2AF2D#E2AF2D

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

Color values

HEX#E2AF2D
RGBrgb(226, 175, 45)
HSLhsl(43, 76%, 53%)
HSVhsv(43, 80%, 89%)
CMYKcmyk(0%, 22.6%, 80.1%, 11.4%)
CIE-LABlab(74.20, 7.06, 68.16)
CIE-LCHlch(74.20, 68.53, 84.09°)
OKLaboklab(78.02% 0.0119 0.1472)
OKLCHoklch(78.02% 0.148 85.4)
XYZxyz(47.1708, 47.0216, 9.0738)
Luminance0.4702 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AF2D #2D60E2
analogous
#E2542D #E2AF2D #BAE22D
triadic
#E2AF2D #2DE2AF #AF2DE2
tetradic
#E2AF2D #2DE254 #2D60E2 #E22DBA
square
#E2AF2D #2DE254 #2D60E2 #E22DBA
split-complementary
#E2AF2D #2DBAE2 #542DE2
monochromatic
#836312 #B88C19 #E2AF2D #E9C363 #F1D899

Accessibility & contrast

On white

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

On black

10.40
#E2AF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AF2D
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AF2D#FFFFFF#000000##000000
##E2AF2D1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2af2d;
/* rgb */ color: rgb(226, 175, 45);
/* oklch */ color: oklch(78.0% 0.148 85.4);
Tailwind
colors: {
  custom: {
    50: '#f0c671',
    500: '#e2af2d',
    950: '#000000',
  },
}
SCSS
$custom: #e2af2d;
$custom-light: #f0c671;
$custom-dark: #000000;
JSON
{
  "hex": "#e2af2d",
  "rgb": {
    "r": 226,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 43.094,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78023,
    "c": 0.14764,
    "h": 85.4
  },
  "luminance": 0.47018
}

Semantic roles & 50–950 ramp

primary
#E2AF2D
secondary
#8EA4DC
accent
#6BF235
background
#FFFCF7
surface
#FFF8ED
border
#D7D1C8
text
#181308
muted
#86827B

Preview Lab

Preview with #E2AF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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