#DFA252#DFA252

#DFA252 is a light, vivid orange. Relative luminance 0.421; OKLCH L 75.5% C 0.121 H 71.5°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#DFA252
RGBrgb(223, 162, 82)
HSLhsl(34, 69%, 60%)
HSVhsv(34, 63%, 87%)
CMYKcmyk(0%, 27.4%, 63.2%, 12.5%)
CIE-LABlab(70.97, 14.48, 49.60)
CIE-LCHlch(70.97, 51.67, 73.72°)
OKLaboklab(75.51% 0.0382 0.1145)
OKLCHoklch(75.51% 0.121 71.5)
XYZxyz(44.8775, 42.1413, 13.7515)
Luminance0.4214 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA252 #528FDF
analogous
#DF5C52 #DFA252 #D5DF52
triadic
#DFA252 #52DFA2 #A252DF
tetradic
#DFA252 #52DF5C #528FDF #DF52D5
square
#DFA252 #52DF5C #528FDF #DF52D5
split-complementary
#DFA252 #52D5DF #5C52DF
monochromatic
#9A641D #CE8526 #DFA252 #E9BE86 #F2DAB9

Accessibility & contrast

On white

2.23
#DFA252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#DFA252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA252
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA252#FFFFFF#000000##000000
##DFA2521.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A54A
Deuteranopia (green-blind)
#C6B454
Tritanopia (blue-blind)
#F19390
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #dfa252;
/* rgb */ color: rgb(223, 162, 82);
/* oklch */ color: oklch(75.5% 0.121 71.5);
Tailwind
colors: {
  custom: {
    50: '#edbd85',
    500: '#dfa252',
    950: '#000000',
  },
}
SCSS
$custom: #dfa252;
$custom-light: #edbd85;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa252",
  "rgb": {
    "r": 223,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 34.043,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.75507,
    "c": 0.12071,
    "h": 71.5
  },
  "luminance": 0.42138
}

Semantic roles & 50–950 ramp

primary
#DFA252
secondary
#ABC3E2
accent
#88EC3C
background
#FFFBF8
surface
#FEF6EF
border
#D6D0CA
text
#17120B
muted
#85817C

Preview Lab

Preview with #DFA252

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

Preview Lab → · Contrast checker → · Palette generator →

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