#E2AF5F#E2AF5F

#E2AF5F is a light, moderate orange. Relative luminance 0.477; OKLCH L 78.5% C 0.115 H 77.0°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#E2AF5F
RGBrgb(226, 175, 95)
HSLhsl(37, 69%, 63%)
HSVhsv(37, 58%, 89%)
CMYKcmyk(0%, 22.6%, 58%, 11.4%)
CIE-LABlab(74.61, 9.71, 47.58)
CIE-LCHlch(74.61, 48.56, 78.46°)
OKLaboklab(78.47% 0.0257 0.1116)
OKLCHoklch(78.47% 0.115 77)
XYZxyz(48.7621, 47.6581, 17.4549)
Luminance0.4765 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2AF5F #5F92E2
analogous
#E26D5F #E2AF5F #D4E25F
triadic
#E2AF5F #5FE2AF #AF5FE2
tetradic
#E2AF5F #5FE26D #5F92E2 #E25FD4
square
#E2AF5F #5FE26D #5F92E2 #E25FD4
split-complementary
#E2AF5F #5FD4E2 #6D5FE2
monochromatic
#A8731E #D9952B #E2AF5F #EBC993 #F5E3C7

Accessibility & contrast

On white

1.99
#E2AF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#E2AF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2AF5F
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2AF5F#FFFFFF#000000##000000
##E2AF5F1.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B058
Deuteranopia (green-blind)
#CFBD61
Tritanopia (blue-blind)
#F4A19C
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #e2af5f;
/* rgb */ color: rgb(226, 175, 95);
/* oklch */ color: oklch(78.5% 0.115 77.0);
Tailwind
colors: {
  custom: {
    50: '#eec68e',
    500: '#e2af5f',
    950: '#000000',
  },
}
SCSS
$custom: #e2af5f;
$custom-light: #eec68e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2af5f",
  "rgb": {
    "r": 226,
    "g": 175,
    "b": 95
  },
  "hsl": {
    "h": 36.641,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.78471,
    "c": 0.11453,
    "h": 77
  },
  "luminance": 0.47655
}

Semantic roles & 50–950 ramp

primary
#E2AF5F
secondary
#B7C9E6
accent
#5ED114
background
#FFFCF8
surface
#FEF8F0
border
#D6D1CB
text
#17130C
muted
#85827D

Preview Lab

Preview with #E2AF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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