#D8A22F#D8A22F

#D8A22F is a light, vivid orange. Relative luminance 0.406; OKLCH L 74.4% C 0.139 H 81.6°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#D8A22F
RGBrgb(216, 162, 47)
HSLhsl(41, 68%, 52%)
HSVhsv(41, 78%, 85%)
CMYKcmyk(0%, 25%, 78.2%, 15.3%)
CIE-LABlab(69.93, 9.71, 63.23)
CIE-LCHlch(69.93, 63.97, 81.27°)
OKLaboklab(74.43% 0.0203 0.1375)
OKLCHoklch(74.43% 0.139 81.6)
XYZxyz(41.7552, 40.6480, 8.3355)
Luminance0.4064 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A22F #2F65D8
analogous
#D84E2F #D8A22F #BAD82F
triadic
#D8A22F #2FD8A2 #A22FD8
tetradic
#D8A22F #2FD84E #2F65D8 #D82FBA
square
#D8A22F #2FD84E #2F65D8 #D82FBA
split-complementary
#D8A22F #2FBAD8 #4E2FD8
monochromatic
#765816 #AA7E20 #D8A22F #E2B963 #EBD096

Accessibility & contrast

On white

2.30
#D8A22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#D8A22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A22F
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A22F#FFFFFF#000000##000000
##D8A22F1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A319
Deuteranopia (green-blind)
#C5B034
Tritanopia (blue-blind)
#EB928C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d8a22f;
/* rgb */ color: rgb(216, 162, 47);
/* oklch */ color: oklch(74.4% 0.139 81.6);
Tailwind
colors: {
  custom: {
    50: '#e9bd71',
    500: '#d8a22f',
    950: '#000000',
  },
}
SCSS
$custom: #d8a22f;
$custom-light: #e9bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a22f",
  "rgb": {
    "r": 216,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 40.828,
    "s": 68.421,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74434,
    "c": 0.13897,
    "h": 81.6
  },
  "luminance": 0.40645
}

Semantic roles & 50–950 ramp

primary
#D8A22F
secondary
#8CA4D7
accent
#74EB3D
background
#FFFBF7
surface
#FEF6ED
border
#D6D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D8A22F

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

Preview Lab → · Contrast checker → · Palette generator →

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