#DFA52B#DFA52B

#DFA52B is a light, vivid orange. Relative luminance 0.428; OKLCH L 75.8% C 0.145 H 80.7°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#DFA52B
RGBrgb(223, 165, 43)
HSLhsl(41, 74%, 52%)
HSVhsv(41, 81%, 87%)
CMYKcmyk(0%, 26%, 80.7%, 12.5%)
CIE-LABlab(71.40, 11.01, 66.21)
CIE-LCHlch(71.40, 67.12, 80.56°)
OKLaboklab(75.75% 0.0232 0.1426)
OKLCHoklch(75.75% 0.145 80.7)
XYZxyz(44.3257, 42.7762, 8.2071)
Luminance0.4277 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA52B #2B65DF
analogous
#DF4B2B #DFA52B #BFDF2B
triadic
#DFA52B #2BDFA5 #A52BDF
tetradic
#DFA52B #2BDF4B #2B65DF #DF2BBF
square
#DFA52B #2BDF4B #2B65DF #DF2BBF
split-complementary
#DFA52B #2BBFDF #4B2BDF
monochromatic
#7D5B13 #B2811B #DFA52B #E7BC60 #EFD295

Accessibility & contrast

On white

2.20
#DFA52B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#DFA52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA52B
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA52B#FFFFFF#000000##000000
##DFA52B1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA60E
Deuteranopia (green-blind)
#CAB531
Tritanopia (blue-blind)
#F3948E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #dfa52b;
/* rgb */ color: rgb(223, 165, 43);
/* oklch */ color: oklch(75.8% 0.145 80.7);
Tailwind
colors: {
  custom: {
    50: '#eebf6f',
    500: '#dfa52b',
    950: '#000000',
  },
}
SCSS
$custom: #dfa52b;
$custom-light: #eebf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa52b",
  "rgb": {
    "r": 223,
    "g": 165,
    "b": 43
  },
  "hsl": {
    "h": 40.667,
    "s": 73.77,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75751,
    "c": 0.14452,
    "h": 80.7
  },
  "luminance": 0.42773
}

Semantic roles & 50–950 ramp

primary
#DFA52B
secondary
#8CA5DA
accent
#73F037
background
#FFFBF7
surface
#FFF6ED
border
#D7D0C8
text
#181208
muted
#86817B

Preview Lab

Preview with #DFA52B

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

Preview Lab → · Contrast checker → · Palette generator →

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