#DFAF4F#DFAF4F

#DFAF4F is a light, vivid orange. Relative luminance 0.469; OKLCH L 78.0% C 0.126 H 82.3°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#DFAF4F
RGBrgb(223, 175, 79)
HSLhsl(40, 69%, 59%)
HSVhsv(40, 65%, 87%)
CMYKcmyk(0%, 21.5%, 64.6%, 12.5%)
CIE-LABlab(74.14, 7.36, 54.54)
CIE-LCHlch(74.14, 55.04, 82.31°)
OKLaboklab(77.98% 0.0169 0.1247)
OKLCHoklch(77.98% 0.126 82.3)
XYZxyz(47.1753, 46.9156, 13.9665)
Luminance0.4691 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAF4F #4F7FDF
analogous
#DF674F #DFAF4F #C7DF4F
triadic
#DFAF4F #4FDFAF #AF4FDF
tetradic
#DFAF4F #4FDF67 #4F7FDF #DF4FC7
square
#DFAF4F #4FDF67 #4F7FDF #DF4FC7
split-complementary
#DFAF4F #4FC7DF #674FDF
monochromatic
#986F1C #CC9425 #DFAF4F #E8C783 #F2DEB7

Accessibility & contrast

On white

2.02
#DFAF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#DFAF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAF4F
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAF4F#FFFFFF#000000##000000
##DFAF4F1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF45
Deuteranopia (green-blind)
#CFBB53
Tritanopia (blue-blind)
#F1A09A
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #dfaf4f;
/* rgb */ color: rgb(223, 175, 79);
/* oklch */ color: oklch(78.0% 0.126 82.3);
Tailwind
colors: {
  custom: {
    50: '#edc684',
    500: '#dfaf4f',
    950: '#000000',
  },
}
SCSS
$custom: #dfaf4f;
$custom-light: #edc684;
$custom-dark: #000000;
JSON
{
  "hex": "#dfaf4f",
  "rgb": {
    "r": 223,
    "g": 175,
    "b": 79
  },
  "hsl": {
    "h": 40,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.77977,
    "c": 0.1258,
    "h": 82.3
  },
  "luminance": 0.46912
}

Semantic roles & 50–950 ramp

primary
#DFAF4F
secondary
#A9BCE1
accent
#77EC3C
background
#FFFCF8
surface
#FEF8EF
border
#D6D1CA
text
#17130B
muted
#85827C

Preview Lab

Preview with #DFAF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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