#DFA02F#DFA02F

#DFA02F is a light, vivid orange. Relative luminance 0.410; OKLCH L 74.8% C 0.142 H 77.1°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#DFA02F
RGBrgb(223, 160, 47)
HSLhsl(39, 73%, 53%)
HSVhsv(39, 79%, 87%)
CMYKcmyk(0%, 28.3%, 78.9%, 12.5%)
CIE-LABlab(70.20, 13.81, 63.76)
CIE-LCHlch(70.20, 65.24, 77.78°)
OKLaboklab(74.82% 0.0318 0.1382)
OKLCHoklch(74.82% 0.142 77.1)
XYZxyz(43.5185, 41.0385, 8.3180)
Luminance0.4103 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA02F #2F6EDF
analogous
#DF482F #DFA02F #C6DF2F
triadic
#DFA02F #2FDFA0 #A02FDF
tetradic
#DFA02F #2FDF48 #2F6EDF #DF2FC6
square
#DFA02F #2FDF48 #2F6EDF #DF2FC6
split-complementary
#DFA02F #2FC6DF #482FDF
monochromatic
#805914 #B57E1C #DFA02F #E7B864 #EFD099

Accessibility & contrast

On white

2.28
#DFA02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#DFA02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA02F
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA02F#FFFFFF#000000##000000
##DFA02F1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A21A
Deuteranopia (green-blind)
#C6B234
Tritanopia (blue-blind)
#F38F8A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #dfa02f;
/* rgb */ color: rgb(223, 160, 47);
/* oklch */ color: oklch(74.8% 0.142 77.1);
Tailwind
colors: {
  custom: {
    50: '#eebb71',
    500: '#dfa02f',
    950: '#000000',
  },
}
SCSS
$custom: #dfa02f;
$custom-light: #eebb71;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa02f",
  "rgb": {
    "r": 223,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 38.523,
    "s": 73.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.74819,
    "c": 0.14184,
    "h": 77.1
  },
  "luminance": 0.41035
}

Semantic roles & 50–950 ramp

primary
#DFA02F
secondary
#8FAADB
accent
#7AF038
background
#FFFBF7
surface
#FFF6ED
border
#D7D0C8
text
#181108
muted
#86807B

Preview Lab

Preview with #DFA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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