#DFA42C#DFA42C

#DFA42C is a light, vivid orange. Relative luminance 0.424; OKLCH L 75.6% C 0.144 H 80.0°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#DFA42C
RGBrgb(223, 164, 44)
HSLhsl(40, 74%, 52%)
HSVhsv(40, 80%, 87%)
CMYKcmyk(0%, 26.5%, 80.3%, 12.5%)
CIE-LABlab(71.16, 11.57, 65.67)
CIE-LCHlch(71.16, 66.68, 80.01°)
OKLaboklab(75.57% 0.025 0.1417)
OKLCHoklch(75.57% 0.144 80)
XYZxyz(44.1646, 42.4243, 8.2450)
Luminance0.4242 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA42C #2C67DF
analogous
#DF4A2C #DFA42C #C1DF2C
triadic
#DFA42C #2CDFA4 #A42CDF
tetradic
#DFA42C #2CDF4A #2C67DF #DF2CC1
square
#DFA42C #2CDF4A #2C67DF #DF2CC1
split-complementary
#DFA42C #2CC1DF #4A2CDF
monochromatic
#7E5A13 #B3811B #DFA42C #E7BB61 #EFD296

Accessibility & contrast

On white

2.21
#DFA42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#DFA42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA42C
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA42C#FFFFFF#000000##000000
##DFA42C1.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA611
Deuteranopia (green-blind)
#C9B432
Tritanopia (blue-blind)
#F3938D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #dfa42c;
/* rgb */ color: rgb(223, 164, 44);
/* oklch */ color: oklch(75.6% 0.144 80.0);
Tailwind
colors: {
  custom: {
    50: '#eebe70',
    500: '#dfa42c',
    950: '#000000',
  },
}
SCSS
$custom: #dfa42c;
$custom-light: #eebe70;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa42c",
  "rgb": {
    "r": 223,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 40.223,
    "s": 73.663,
    "l": 52.353
  },
  "oklch": {
    "l": 0.75565,
    "c": 0.14387,
    "h": 80
  },
  "luminance": 0.42421
}

Semantic roles & 50–950 ramp

primary
#DFA42C
secondary
#8CA6DA
accent
#74F037
background
#FFFBF7
surface
#FFF6ED
border
#D7D0C8
text
#181208
muted
#86817B

Preview Lab

Preview with #DFA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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