#DFA42F#DFA42F

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

Color values

HEX#DFA42F
RGBrgb(223, 164, 47)
HSLhsl(40, 73%, 53%)
HSVhsv(40, 79%, 87%)
CMYKcmyk(0%, 26.5%, 78.9%, 12.5%)
CIE-LABlab(71.18, 11.67, 64.65)
CIE-LCHlch(71.18, 65.70, 79.77°)
OKLaboklab(75.58% 0.0256 0.1402)
OKLCHoklch(75.58% 0.142 79.7)
XYZxyz(44.2231, 42.4477, 8.5529)
Luminance0.4244 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA42F #2F6ADF
analogous
#DF4C2F #DFA42F #C2DF2F
triadic
#DFA42F #2FDFA4 #A42FDF
tetradic
#DFA42F #2FDF4C #2F6ADF #DF2FC2
square
#DFA42F #2FDF4C #2F6ADF #DF2FC2
split-complementary
#DFA42F #2FC2DF #4C2FDF
monochromatic
#805C14 #B5821C #DFA42F #E7BB64 #EFD299

Accessibility & contrast

On white

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

On black

9.49
#DFA42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA42F
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA42F#FFFFFF#000000##000000
##DFA42F1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA618
Deuteranopia (green-blind)
#C9B434
Tritanopia (blue-blind)
#F3938E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #dfa42f;
/* rgb */ color: rgb(223, 164, 47);
/* oklch */ color: oklch(75.6% 0.142 79.7);
Tailwind
colors: {
  custom: {
    50: '#eebe71',
    500: '#dfa42f',
    950: '#000000',
  },
}
SCSS
$custom: #dfa42f;
$custom-light: #eebe71;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa42f",
  "rgb": {
    "r": 223,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 39.886,
    "s": 73.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75582,
    "c": 0.14248,
    "h": 79.7
  },
  "luminance": 0.42444
}

Semantic roles & 50–950 ramp

primary
#DFA42F
secondary
#8FA8DB
accent
#76F038
background
#FFFBF7
surface
#FFF6ED
border
#D7D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #DFA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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