#DCAF42#DCAF42

#DCAF42 is a light, vivid orange. Relative luminance 0.463; OKLCH L 77.5% C 0.134 H 85.9°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#DCAF42
RGBrgb(220, 175, 66)
HSLhsl(42, 69%, 56%)
HSVhsv(42, 70%, 86%)
CMYKcmyk(0%, 20.5%, 70%, 13.7%)
CIE-LABlab(73.72, 5.35, 59.69)
CIE-LCHlch(73.72, 59.93, 84.88°)
OKLaboklab(77.55% 0.0097 0.1336)
OKLCHoklch(77.55% 0.134 85.9)
XYZxyz(45.8312, 46.2720, 11.6706)
Luminance0.4627 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCAF42 #426FDC
analogous
#DC6242 #DCAF42 #BCDC42
triadic
#DCAF42 #42DCAF #AF42DC
tetradic
#DCAF42 #42DC62 #426FDC #DC42BC
square
#DCAF42 #42DC62 #426FDC #DC42BC
split-complementary
#DCAF42 #42BCDC #6242DC
monochromatic
#8A691A #BE9123 #DCAF42 #E6C576 #EFDBA9

Accessibility & contrast

On white

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

On black

10.25
#DCAF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCAF42
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCAF42#FFFFFF#000000##000000
##DCAF421.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE34
Deuteranopia (green-blind)
#CEBA47
Tritanopia (blue-blind)
#EEA099
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #dcaf42;
/* rgb */ color: rgb(220, 175, 66);
/* oklch */ color: oklch(77.5% 0.134 85.9);
Tailwind
colors: {
  custom: {
    50: '#ebc67c',
    500: '#dcaf42',
    950: '#000000',
  },
}
SCSS
$custom: #dcaf42;
$custom-light: #ebc67c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcaf42",
  "rgb": {
    "r": 220,
    "g": 175,
    "b": 66
  },
  "hsl": {
    "h": 42.468,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77547,
    "c": 0.13391,
    "h": 85.9
  },
  "luminance": 0.46269
}

Semantic roles & 50–950 ramp

primary
#DCAF42
secondary
#9DB0DD
accent
#6FEC3C
background
#FFFCF7
surface
#FEF8EE
border
#D6D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #DCAF42

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

Preview Lab → · Contrast checker → · Palette generator →

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