#DFAF42#DFAF42

#DFAF42 is a light, vivid orange. Relative luminance 0.467; OKLCH L 77.9% C 0.135 H 84.4°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#DFAF42
RGBrgb(223, 175, 66)
HSLhsl(42, 71%, 57%)
HSVhsv(42, 70%, 87%)
CMYKcmyk(0%, 21.5%, 70.4%, 12.5%)
CIE-LABlab(74.03, 6.64, 60.10)
CIE-LCHlch(74.03, 60.46, 83.70°)
OKLaboklab(77.86% 0.0132 0.1343)
OKLCHoklch(77.86% 0.135 84.4)
XYZxyz(46.7476, 46.7445, 11.7136)
Luminance0.4674 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAF42 #4272DF
analogous
#DF6142 #DFAF42 #C1DF42
triadic
#DFAF42 #42DFAF #AF42DF
tetradic
#DFAF42 #42DF61 #4272DF #DF42C1
square
#DFAF42 #42DF61 #4272DF #DF42C1
split-complementary
#DFAF42 #42C1DF #6142DF
monochromatic
#8E6A18 #C39121 #DFAF42 #E8C576 #F1DBAB

Accessibility & contrast

On white

2.03
#DFAF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#DFAF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAF42
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAF42#FFFFFF#000000##000000
##DFAF421.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF34
Deuteranopia (green-blind)
#D0BB47
Tritanopia (blue-blind)
#F2A099
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #dfaf42;
/* rgb */ color: rgb(223, 175, 66);
/* oklch */ color: oklch(77.9% 0.135 84.4);
Tailwind
colors: {
  custom: {
    50: '#edc67c',
    500: '#dfaf42',
    950: '#000000',
  },
}
SCSS
$custom: #dfaf42;
$custom-light: #edc67c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfaf42",
  "rgb": {
    "r": 223,
    "g": 175,
    "b": 66
  },
  "hsl": {
    "h": 41.656,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.77856,
    "c": 0.13497,
    "h": 84.4
  },
  "luminance": 0.46741
}

Semantic roles & 50–950 ramp

primary
#DFAF42
secondary
#9EB2DF
accent
#71EE3A
background
#FFFCF7
surface
#FEF8EE
border
#D6D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #DFAF42

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

Preview Lab → · Contrast checker → · Palette generator →

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