#DFAC57#DFAC57

#DFAC57 is a light, moderate orange. Relative luminance 0.459; OKLCH L 77.5% C 0.119 H 78.2°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#DFAC57
RGBrgb(223, 172, 87)
HSLhsl(38, 68%, 61%)
HSVhsv(38, 61%, 87%)
CMYKcmyk(0%, 22.9%, 61%, 12.5%)
CIE-LABlab(73.47, 9.48, 50.05)
CIE-LCHlch(73.47, 50.94, 79.28°)
OKLaboklab(77.48% 0.0242 0.1161)
OKLCHoklch(77.48% 0.119 78.2)
XYZxyz(46.9068, 45.8843, 15.4010)
Luminance0.4588 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAC57 #578ADF
analogous
#DF6857 #DFAC57 #CEDF57
triadic
#DFAC57 #57DFAC #AC57DF
tetradic
#DFAC57 #57DF68 #578ADF #DF57CE
square
#DFAC57 #57DF68 #578ADF #DF57CE
split-complementary
#DFAC57 #57CEDF #6857DF
monochromatic
#9E6E1E #D19228 #DFAC57 #E9C58A #F3DFBE

Accessibility & contrast

On white

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

On black

10.18
#DFAC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAC57
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAC57#FFFFFF#000000##000000
##DFAC571.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD4F
Deuteranopia (green-blind)
#CCBA5A
Tritanopia (blue-blind)
#F19E99
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #dfac57;
/* rgb */ color: rgb(223, 172, 87);
/* oklch */ color: oklch(77.5% 0.119 78.2);
Tailwind
colors: {
  custom: {
    50: '#ecc489',
    500: '#dfac57',
    950: '#000000',
  },
}
SCSS
$custom: #dfac57;
$custom-light: #ecc489;
$custom-dark: #000000;
JSON
{
  "hex": "#dfac57",
  "rgb": {
    "r": 223,
    "g": 172,
    "b": 87
  },
  "hsl": {
    "h": 37.5,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.77481,
    "c": 0.11861,
    "h": 78.2
  },
  "luminance": 0.45881
}

Semantic roles & 50–950 ramp

primary
#DFAC57
secondary
#AFC2E3
accent
#5BD016
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#17120C
muted
#85817D

Preview Lab

Preview with #DFAC57

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

Preview Lab → · Contrast checker → · Palette generator →

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