#DFA72F#DFA72F

#DFA72F is a light, vivid orange. Relative luminance 0.435; OKLCH L 76.2% C 0.143 H 81.6°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#DFA72F
RGBrgb(223, 167, 47)
HSLhsl(41, 73%, 53%)
HSVhsv(41, 79%, 87%)
CMYKcmyk(0%, 25.1%, 78.9%, 12.5%)
CIE-LABlab(71.92, 10.07, 65.33)
CIE-LCHlch(71.92, 66.10, 81.23°)
OKLaboklab(76.16% 0.021 0.1416)
OKLCHoklch(76.16% 0.143 81.6)
XYZxyz(44.7663, 43.5341, 8.7339)
Luminance0.4353 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA72F #2F67DF
analogous
#DF4F2F #DFA72F #BFDF2F
triadic
#DFA72F #2FDFA7 #A72FDF
tetradic
#DFA72F #2FDF4F #2F67DF #DF2FBF
square
#DFA72F #2FDF4F #2F67DF #DF2FBF
split-complementary
#DFA72F #2FBFDF #4F2FDF
monochromatic
#805D14 #B5841C #DFA72F #E7BD64 #EFD499

Accessibility & contrast

On white

2.16
#DFA72F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#DFA72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA72F
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA72F#FFFFFF#000000##000000
##DFA72F1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA817
Deuteranopia (green-blind)
#CBB635
Tritanopia (blue-blind)
#F29690
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #dfa72f;
/* rgb */ color: rgb(223, 167, 47);
/* oklch */ color: oklch(76.2% 0.143 81.6);
Tailwind
colors: {
  custom: {
    50: '#eec071',
    500: '#dfa72f',
    950: '#000000',
  },
}
SCSS
$custom: #dfa72f;
$custom-light: #eec071;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa72f",
  "rgb": {
    "r": 223,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 40.909,
    "s": 73.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.7616,
    "c": 0.14316,
    "h": 81.6
  },
  "luminance": 0.43531
}

Semantic roles & 50–950 ramp

primary
#DFA72F
secondary
#8FA7DB
accent
#72F038
background
#FFFBF7
surface
#FFF7ED
border
#D7D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #DFA72F

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

Preview Lab → · Contrast checker → · Palette generator →

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