#DFAC40#DFAC40

#DFAC40 is a light, vivid orange. Relative luminance 0.456; OKLCH L 77.3% C 0.135 H 82.7°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#DFAC40
RGBrgb(223, 172, 64)
HSLhsl(41, 71%, 56%)
HSVhsv(41, 71%, 87%)
CMYKcmyk(0%, 22.9%, 71.3%, 12.5%)
CIE-LABlab(73.26, 8.13, 60.15)
CIE-LCHlch(73.26, 60.69, 82.31°)
OKLaboklab(77.25% 0.0173 0.1341)
OKLCHoklch(77.25% 0.135 82.7)
XYZxyz(46.1122, 45.5665, 11.2160)
Luminance0.4556 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAC40 #4073DF
analogous
#DF5D40 #DFAC40 #C2DF40
triadic
#DFAC40 #40DFAC #AC40DF
tetradic
#DFAC40 #40DF5D #4073DF #DF40C2
square
#DFAC40 #40DF5D #4073DF #DF40C2
split-complementary
#DFAC40 #40C2DF #5D40DF
monochromatic
#8D6718 #C18E20 #DFAC40 #E8C374 #F1DAA9

Accessibility & contrast

On white

2.08
#DFAC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#DFAC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAC40
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAC40#FFFFFF#000000##000000
##DFAC401.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC31
Deuteranopia (green-blind)
#CEB945
Tritanopia (blue-blind)
#F29C96
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #dfac40;
/* rgb */ color: rgb(223, 172, 64);
/* oklch */ color: oklch(77.3% 0.135 82.7);
Tailwind
colors: {
  custom: {
    50: '#edc47b',
    500: '#dfac40',
    950: '#000000',
  },
}
SCSS
$custom: #dfac40;
$custom-light: #edc47b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfac40",
  "rgb": {
    "r": 223,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 40.755,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.77252,
    "c": 0.13517,
    "h": 82.7
  },
  "luminance": 0.45563
}

Semantic roles & 50–950 ramp

primary
#DFAC40
secondary
#9DB2DE
accent
#74EE3A
background
#FFFCF7
surface
#FFF8EE
border
#D7D1C9
text
#17120A
muted
#85817C

Preview Lab

Preview with #DFAC40

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

Preview Lab → · Contrast checker → · Palette generator →

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