#DFA840#DFA840

#DFA840 is a light, vivid orange. Relative luminance 0.441; OKLCH L 76.5% C 0.134 H 79.9°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#DFA840
RGBrgb(223, 168, 64)
HSLhsl(39, 71%, 56%)
HSVhsv(39, 71%, 87%)
CMYKcmyk(0%, 24.7%, 71.3%, 12.5%)
CIE-LABlab(72.27, 10.25, 59.14)
CIE-LCHlch(72.27, 60.02, 80.16°)
OKLaboklab(76.48% 0.0234 0.1319)
OKLCHoklch(76.48% 0.134 79.9)
XYZxyz(45.3624, 44.0668, 10.9661)
Luminance0.4406 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA840 #4077DF
analogous
#DF5940 #DFA840 #C7DF40
triadic
#DFA840 #40DFA8 #A840DF
tetradic
#DFA840 #40DF59 #4077DF #DF40C7
square
#DFA840 #40DF59 #4077DF #DF40C7
split-complementary
#DFA840 #40C7DF #5940DF
monochromatic
#8D6418 #C18A20 #DFA840 #E8C074 #F1D8A9

Accessibility & contrast

On white

2.14
#DFA840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#DFA840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA840
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA840#FFFFFF#000000##000000
##DFA8401.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA932
Deuteranopia (green-blind)
#CBB744
Tritanopia (blue-blind)
#F29893
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #dfa840;
/* rgb */ color: rgb(223, 168, 64);
/* oklch */ color: oklch(76.5% 0.134 79.9);
Tailwind
colors: {
  custom: {
    50: '#eec17a',
    500: '#dfa840',
    950: '#000000',
  },
}
SCSS
$custom: #dfa840;
$custom-light: #eec17a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa840",
  "rgb": {
    "r": 223,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 39.245,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.76475,
    "c": 0.13398,
    "h": 79.9
  },
  "luminance": 0.44063
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFA840

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

Preview Lab → · Contrast checker → · Palette generator →

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