#DFA040#DFA040

#DFA040 is a light, vivid orange. Relative luminance 0.412; OKLCH L 74.9% C 0.133 H 74.3°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#DFA040
RGBrgb(223, 160, 64)
HSLhsl(36, 71%, 56%)
HSVhsv(36, 71%, 87%)
CMYKcmyk(0%, 28.3%, 71.3%, 12.5%)
CIE-LABlab(70.32, 14.53, 57.14)
CIE-LCHlch(70.32, 58.96, 75.74°)
OKLaboklab(74.95% 0.0359 0.1277)
OKLCHoklch(74.95% 0.133 74.3)
XYZxyz(43.9306, 41.2033, 10.4888)
Luminance0.4120 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA040 #407FDF
analogous
#DF5140 #DFA040 #CFDF40
triadic
#DFA040 #40DFA0 #A040DF
tetradic
#DFA040 #40DF51 #407FDF #DF40CF
square
#DFA040 #40DF51 #407FDF #DF40CF
split-complementary
#DFA040 #40CFDF #5140DF
monochromatic
#8D5E18 #C18220 #DFA040 #E8BA74 #F1D4A9

Accessibility & contrast

On white

2.27
#DFA040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#DFA040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA040
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA040#FFFFFF#000000##000000
##DFA0401.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A334
Deuteranopia (green-blind)
#C6B243
Tritanopia (blue-blind)
#F2908C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #dfa040;
/* rgb */ color: rgb(223, 160, 64);
/* oklch */ color: oklch(74.9% 0.133 74.3);
Tailwind
colors: {
  custom: {
    50: '#eebc7a',
    500: '#dfa040',
    950: '#000000',
  },
}
SCSS
$custom: #dfa040;
$custom-light: #eebc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa040",
  "rgb": {
    "r": 223,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 36.226,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.74946,
    "c": 0.13262,
    "h": 74.3
  },
  "luminance": 0.412
}

Semantic roles & 50–950 ramp

primary
#DFA040
secondary
#9DB7DE
accent
#81EE3A
background
#FFFBF7
surface
#FFF6EE
border
#D7D0C9
text
#171109
muted
#85807B

Preview Lab

Preview with #DFA040

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

Preview Lab → · Contrast checker → · Palette generator →

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