#DCAF31#DCAF31

#DCAF31 is a light, vivid orange. Relative luminance 0.461; OKLCH L 77.4% C 0.144 H 87.8°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#DCAF31
RGBrgb(220, 175, 49)
HSLhsl(44, 71%, 53%)
HSVhsv(44, 78%, 86%)
CMYKcmyk(0%, 20.5%, 77.7%, 13.7%)
CIE-LABlab(73.61, 4.60, 66.07)
CIE-LCHlch(73.61, 66.23, 86.01°)
OKLaboklab(77.42% 0.0056 0.1438)
OKLCHoklch(77.42% 0.144 87.8)
XYZxyz(45.4024, 46.1004, 9.4121)
Luminance0.4610 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCAF31 #315EDC
analogous
#DC5A31 #DCAF31 #B3DC31
triadic
#DCAF31 #31DCAF #AF31DC
tetradic
#DCAF31 #31DC5A #315EDC #DC31B3
square
#DCAF31 #31DC5A #315EDC #DC31B3
split-complementary
#DCAF31 #31B3DC #5A31DC
monochromatic
#7D6215 #B28B1E #DCAF31 #E5C365 #EED89A

Accessibility & contrast

On white

2.05
#DCAF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#DCAF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCAF31
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCAF31#FFFFFF#000000##000000
##DCAF311.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE18
Deuteranopia (green-blind)
#CFBA38
Tritanopia (blue-blind)
#EF9F97
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #dcaf31;
/* rgb */ color: rgb(220, 175, 49);
/* oklch */ color: oklch(77.4% 0.144 87.8);
Tailwind
colors: {
  custom: {
    50: '#ecc673',
    500: '#dcaf31',
    950: '#000000',
  },
}
SCSS
$custom: #dcaf31;
$custom-light: #ecc673;
$custom-dark: #000000;
JSON
{
  "hex": "#dcaf31",
  "rgb": {
    "r": 220,
    "g": 175,
    "b": 49
  },
  "hsl": {
    "h": 44.211,
    "s": 70.954,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77424,
    "c": 0.14392,
    "h": 87.8
  },
  "luminance": 0.46097
}

Semantic roles & 50–950 ramp

primary
#DCAF31
secondary
#8FA3D9
accent
#69EE3A
background
#FFFCF7
surface
#FEF8ED
border
#D6D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #DCAF31

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

Preview Lab → · Contrast checker → · Palette generator →

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