#DFA940#DFA940

#DFA940 is a light, vivid orange. Relative luminance 0.444; OKLCH L 76.7% C 0.134 H 80.6°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#DFA940
RGBrgb(223, 169, 64)
HSLhsl(40, 71%, 56%)
HSVhsv(40, 71%, 87%)
CMYKcmyk(0%, 24.2%, 71.3%, 12.5%)
CIE-LABlab(72.52, 9.72, 59.39)
CIE-LCHlch(72.52, 60.18, 80.70°)
OKLaboklab(76.67% 0.0219 0.1325)
OKLCHoklch(76.67% 0.134 80.6)
XYZxyz(45.5477, 44.4374, 11.0278)
Luminance0.4443 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA940 #4076DF
analogous
#DF5A40 #DFA940 #C5DF40
triadic
#DFA940 #40DFA9 #A940DF
tetradic
#DFA940 #40DF5A #4076DF #DF40C5
square
#DFA940 #40DF5A #4076DF #DF40C5
split-complementary
#DFA940 #40C5DF #5A40DF
monochromatic
#8D6518 #C18B20 #DFA940 #E8C174 #F1D8A9

Accessibility & contrast

On white

2.12
#DFA940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#DFA940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA940
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA940#FFFFFF#000000##000000
##DFA9401.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA32
Deuteranopia (green-blind)
#CCB744
Tritanopia (blue-blind)
#F29993
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #dfa940;
/* rgb */ color: rgb(223, 169, 64);
/* oklch */ color: oklch(76.7% 0.134 80.6);
Tailwind
colors: {
  custom: {
    50: '#eec27b',
    500: '#dfa940',
    950: '#000000',
  },
}
SCSS
$custom: #dfa940;
$custom-light: #eec27b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa940",
  "rgb": {
    "r": 223,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 39.623,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.76669,
    "c": 0.13425,
    "h": 80.6
  },
  "luminance": 0.44434
}

Semantic roles & 50–950 ramp

primary
#DFA940
secondary
#9DB3DE
accent
#77EE3A
background
#FFFBF7
surface
#FFF7EE
border
#D7D0C9
text
#17120A
muted
#85817C

Preview Lab

Preview with #DFA940

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

Preview Lab → · Contrast checker → · Palette generator →

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