#DFA22B#DFA22B

#DFA22B is a light, vivid orange. Relative luminance 0.417; OKLCH L 75.2% C 0.144 H 78.8°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#DFA22B
RGBrgb(223, 162, 43)
HSLhsl(40, 74%, 52%)
HSVhsv(40, 81%, 87%)
CMYKcmyk(0%, 27.4%, 80.7%, 12.5%)
CIE-LABlab(70.67, 12.61, 65.56)
CIE-LCHlch(70.67, 66.76, 79.12°)
OKLaboklab(75.18% 0.0279 0.1412)
OKLCHoklch(75.18% 0.144 78.8)
XYZxyz(43.7909, 41.7066, 8.0289)
Luminance0.4170 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA22B #2B68DF
analogous
#DF482B #DFA22B #C2DF2B
triadic
#DFA22B #2BDFA2 #A22BDF
tetradic
#DFA22B #2BDF48 #2B68DF #DF2BC2
square
#DFA22B #2BDF48 #2B68DF #DF2BC2
split-complementary
#DFA22B #2BC2DF #482BDF
monochromatic
#7D5913 #B27F1B #DFA22B #E7B960 #EFD195

Accessibility & contrast

On white

2.25
#DFA22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#DFA22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA22B
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA22B#FFFFFF#000000##000000
##DFA22B1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A410
Deuteranopia (green-blind)
#C8B331
Tritanopia (blue-blind)
#F3918C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #dfa22b;
/* rgb */ color: rgb(223, 162, 43);
/* oklch */ color: oklch(75.2% 0.144 78.8);
Tailwind
colors: {
  custom: {
    50: '#efbd6f',
    500: '#dfa22b',
    950: '#000000',
  },
}
SCSS
$custom: #dfa22b;
$custom-light: #efbd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa22b",
  "rgb": {
    "r": 223,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 39.667,
    "s": 73.77,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75176,
    "c": 0.14395,
    "h": 78.8
  },
  "luminance": 0.41703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFA22B

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

Preview Lab → · Contrast checker → · Palette generator →

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