#DCAF2D#DCAF2D

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

Color values

HEX#DCAF2D
RGBrgb(220, 175, 45)
HSLhsl(45, 71%, 52%)
HSVhsv(45, 80%, 86%)
CMYKcmyk(0%, 20.5%, 79.5%, 13.7%)
CIE-LABlab(73.59, 4.46, 67.39)
CIE-LCHlch(73.59, 67.53, 86.21°)
OKLaboklab(77.4% 0.0048 0.1458)
OKLCHoklch(77.4% 0.146 88.1)
XYZxyz(45.3217, 46.0682, 8.9871)
Luminance0.4607 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCAF2D #2D5ADC
analogous
#DC572D #DCAF2D #B2DC2D
triadic
#DCAF2D #2DDCAF #AF2DDC
tetradic
#DCAF2D #2DDC57 #2D5ADC #DC2DB2
square
#DCAF2D #2DDC57 #2D5ADC #DC2DB2
split-complementary
#DCAF2D #2DB2DC #572DDC
monochromatic
#7A6014 #AF891D #DCAF2D #E5C361 #EDD796

Accessibility & contrast

On white

2.06
#DCAF2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#DCAF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCAF2D
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCAF2D#FFFFFF#000000##000000
##DCAF2D1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcaf2d;
/* rgb */ color: rgb(220, 175, 45);
/* oklch */ color: oklch(77.4% 0.146 88.1);
Tailwind
colors: {
  custom: {
    50: '#ecc671',
    500: '#dcaf2d',
    950: '#000000',
  },
}
SCSS
$custom: #dcaf2d;
$custom-light: #ecc671;
$custom-dark: #000000;
JSON
{
  "hex": "#dcaf2d",
  "rgb": {
    "r": 220,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 44.571,
    "s": 71.429,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77401,
    "c": 0.14588,
    "h": 88.1
  },
  "luminance": 0.46065
}

Semantic roles & 50–950 ramp

primary
#DCAF2D
secondary
#8CA0D9
accent
#68EE3A
background
#FFFCF7
surface
#FEF8ED
border
#D6D1C8
text
#171208
muted
#85817B

Preview Lab

Preview with #DCAF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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