#DFB342#DFB342

#DFB342 is a light, vivid orange. Relative luminance 0.483; OKLCH L 78.6% C 0.137 H 87.0°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#DFB342
RGBrgb(223, 179, 66)
HSLhsl(43, 71%, 57%)
HSVhsv(43, 70%, 87%)
CMYKcmyk(0%, 19.7%, 70.4%, 12.5%)
CIE-LABlab(75.03, 4.52, 61.12)
CIE-LCHlch(75.03, 61.29, 85.77°)
OKLaboklab(78.64% 0.0071 0.1365)
OKLCHoklch(78.64% 0.137 87)
XYZxyz(47.5376, 48.3246, 11.9770)
Luminance0.4832 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFB342 #426EDF
analogous
#DF6542 #DFB342 #BCDF42
triadic
#DFB342 #42DFB3 #B342DF
tetradic
#DFB342 #42DF65 #426EDF #DF42BC
square
#DFB342 #42DF65 #426EDF #DF42BC
split-complementary
#DFB342 #42BCDF #6542DF
monochromatic
#8E6D18 #C39521 #DFB342 #E8C876 #F1DDAB

Accessibility & contrast

On white

1.97
#DFB342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#DFB342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFB342
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFB342#FFFFFF#000000##000000
##DFB3421.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B233
Deuteranopia (green-blind)
#D2BE47
Tritanopia (blue-blind)
#F1A49C
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #dfb342;
/* rgb */ color: rgb(223, 179, 66);
/* oklch */ color: oklch(78.6% 0.137 87.0);
Tailwind
colors: {
  custom: {
    50: '#edc97d',
    500: '#dfb342',
    950: '#000000',
  },
}
SCSS
$custom: #dfb342;
$custom-light: #edc97d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfb342",
  "rgb": {
    "r": 223,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 43.185,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78644,
    "c": 0.13666,
    "h": 87
  },
  "luminance": 0.48322
}

Semantic roles & 50–950 ramp

primary
#DFB342
secondary
#9EB0DF
accent
#6CEE3A
background
#FFFCF7
surface
#FEF8EE
border
#D6D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #DFB342

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

Preview Lab → · Contrast checker → · Palette generator →

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