#DFA82F#DFA82F

#DFA82F is a light, vivid orange. Relative luminance 0.439; OKLCH L 76.4% C 0.143 H 82.2°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#DFA82F
RGBrgb(223, 168, 47)
HSLhsl(41, 73%, 53%)
HSVhsv(41, 79%, 87%)
CMYKcmyk(0%, 24.7%, 78.9%, 12.5%)
CIE-LABlab(72.16, 9.54, 65.55)
CIE-LCHlch(72.16, 66.24, 81.72°)
OKLaboklab(76.35% 0.0194 0.1421)
OKLCHoklch(76.35% 0.143 82.2)
XYZxyz(44.9502, 43.9019, 8.7952)
Luminance0.4390 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA82F #2F66DF
analogous
#DF502F #DFA82F #BEDF2F
triadic
#DFA82F #2FDFA8 #A82FDF
tetradic
#DFA82F #2FDF50 #2F66DF #DF2FBE
square
#DFA82F #2FDF50 #2F66DF #DF2FBE
split-complementary
#DFA82F #2FBEDF #502FDF
monochromatic
#805E14 #B5851C #DFA82F #E7BE64 #EFD499

Accessibility & contrast

On white

2.15
#DFA82F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#DFA82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA82F
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA82F#FFFFFF#000000##000000
##DFA82F1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA916
Deuteranopia (green-blind)
#CCB735
Tritanopia (blue-blind)
#F29791
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #dfa82f;
/* rgb */ color: rgb(223, 168, 47);
/* oklch */ color: oklch(76.4% 0.143 82.2);
Tailwind
colors: {
  custom: {
    50: '#eec171',
    500: '#dfa82f',
    950: '#000000',
  },
}
SCSS
$custom: #dfa82f;
$custom-light: #eec171;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa82f",
  "rgb": {
    "r": 223,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 41.25,
    "s": 73.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76354,
    "c": 0.14342,
    "h": 82.2
  },
  "luminance": 0.43898
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFA82F

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

Preview Lab → · Contrast checker → · Palette generator →

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