#E3AF40#E3AF40

#E3AF40 is a light, vivid orange. Relative luminance 0.474; OKLCH L 78.3% C 0.138 H 82.8°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#E3AF40
RGBrgb(227, 175, 64)
HSLhsl(41, 74%, 57%)
HSVhsv(41, 72%, 89%)
CMYKcmyk(0%, 22.9%, 71.8%, 11%)
CIE-LABlab(74.42, 8.25, 61.45)
CIE-LCHlch(74.42, 62.00, 82.36°)
OKLaboklab(78.26% 0.0174 0.1367)
OKLCHoklch(78.26% 0.138 82.8)
XYZxyz(47.9369, 47.3644, 11.4669)
Luminance0.4736 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3AF40 #4074E3
analogous
#E35E40 #E3AF40 #C5E340
triadic
#E3AF40 #40E3AF #AF40E3
tetradic
#E3AF40 #40E35E #4074E3 #E340C5
square
#E3AF40 #40E35E #4074E3 #E340C5
split-complementary
#E3AF40 #40C5E3 #5E40E3
monochromatic
#936B16 #C8921D #E3AF40 #EBC575 #F3DCAB

Accessibility & contrast

On white

2.01
#E3AF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#E3AF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3AF40
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3AF40#FFFFFF#000000##000000
##E3AF401.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF31
Deuteranopia (green-blind)
#D1BC45
Tritanopia (blue-blind)
#F69F98
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #e3af40;
/* rgb */ color: rgb(227, 175, 64);
/* oklch */ color: oklch(78.3% 0.138 82.8);
Tailwind
colors: {
  custom: {
    50: '#f0c67b',
    500: '#e3af40',
    950: '#000000',
  },
}
SCSS
$custom: #e3af40;
$custom-light: #f0c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#e3af40",
  "rgb": {
    "r": 227,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 40.859,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78255,
    "c": 0.13776,
    "h": 82.8
  },
  "luminance": 0.47361
}

Semantic roles & 50–950 ramp

primary
#E3AF40
secondary
#9EB3E1
accent
#72F137
background
#FFFCF7
surface
#FFF8EE
border
#D7D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #E3AF40

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

Preview Lab → · Contrast checker → · Palette generator →

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