#DFA23C#DFA23C

#DFA23C is a light, vivid orange. Relative luminance 0.419; OKLCH L 75.3% C 0.135 H 76.4°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#DFA23C
RGBrgb(223, 162, 60)
HSLhsl(38, 72%, 55%)
HSVhsv(38, 73%, 87%)
CMYKcmyk(0%, 27.4%, 73.1%, 12.5%)
CIE-LABlab(70.77, 13.27, 59.29)
CIE-LCHlch(70.77, 60.76, 77.39°)
OKLaboklab(75.29% 0.0317 0.1315)
OKLCHoklch(75.29% 0.135 76.4)
XYZxyz(44.1704, 41.8584, 10.0272)
Luminance0.4185 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA23C #3C79DF
analogous
#DF503C #DFA23C #CADF3C
triadic
#DFA23C #3CDFA2 #A23CDF
tetradic
#DFA23C #3CDF50 #3C79DF #DF3CCA
square
#DFA23C #3CDF50 #3C79DF #DF3CCA
split-complementary
#DFA23C #3CCADF #503CDF
monochromatic
#8A5F17 #BF831F #DFA23C #E8BB71 #F0D4A5

Accessibility & contrast

On white

2.24
#DFA23C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#DFA23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA23C
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA23C#FFFFFF#000000##000000
##DFA23C1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A42E
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#F2918D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #dfa23c;
/* rgb */ color: rgb(223, 162, 60);
/* oklch */ color: oklch(75.3% 0.135 76.4);
Tailwind
colors: {
  custom: {
    50: '#eebd78',
    500: '#dfa23c',
    950: '#000000',
  },
}
SCSS
$custom: #dfa23c;
$custom-light: #eebd78;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa23c",
  "rgb": {
    "r": 223,
    "g": 162,
    "b": 60
  },
  "hsl": {
    "h": 37.546,
    "s": 71.806,
    "l": 55.49
  },
  "oklch": {
    "l": 0.75292,
    "c": 0.13523,
    "h": 76.4
  },
  "luminance": 0.41855
}

Semantic roles & 50–950 ramp

primary
#DFA23C
secondary
#99B3DD
accent
#7DEF39
background
#FFFBF7
surface
#FFF6EE
border
#D7D0C9
text
#171209
muted
#85817B

Preview Lab

Preview with #DFA23C

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

Preview Lab → · Contrast checker → · Palette generator →

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