#DFB540#DFB540

#DFB540 is a light, vivid orange. Relative luminance 0.491; OKLCH L 79.0% C 0.139 H 88.5°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#DFB540
RGBrgb(223, 181, 64)
HSLhsl(44, 71%, 56%)
HSVhsv(44, 71%, 87%)
CMYKcmyk(0%, 18.8%, 71.3%, 12.5%)
CIE-LABlab(75.52, 3.37, 62.42)
CIE-LCHlch(75.52, 62.51, 86.91°)
OKLaboklab(79.03% 0.0035 0.1389)
OKLCHoklch(79.03% 0.139 88.5)
XYZxyz(47.8834, 49.1089, 11.8064)
Luminance0.4911 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFB540 #406ADF
analogous
#DF6640 #DFB540 #BADF40
triadic
#DFB540 #40DFB5 #B540DF
tetradic
#DFB540 #40DF66 #406ADF #DF40BA
square
#DFB540 #40DF66 #406ADF #DF40BA
split-complementary
#DFB540 #40BADF #6640DF
monochromatic
#8D6E18 #C19720 #DFB540 #E8C974 #F1DEA9

Accessibility & contrast

On white

1.94
#DFB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#DFB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFB540
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFB540#FFFFFF#000000##000000
##DFB5401.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB32F
Deuteranopia (green-blind)
#D4BF46
Tritanopia (blue-blind)
#F1A69D
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #dfb540;
/* rgb */ color: rgb(223, 181, 64);
/* oklch */ color: oklch(79.0% 0.139 88.5);
Tailwind
colors: {
  custom: {
    50: '#edca7c',
    500: '#dfb540',
    950: '#000000',
  },
}
SCSS
$custom: #dfb540;
$custom-light: #edca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfb540",
  "rgb": {
    "r": 223,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 44.151,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79026,
    "c": 0.13892,
    "h": 88.5
  },
  "luminance": 0.49106
}

Semantic roles & 50–950 ramp

primary
#DFB540
secondary
#9DAEDE
accent
#69EE3A
background
#FFFCF7
surface
#FEF8EE
border
#D6D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #DFB540

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

Preview Lab → · Contrast checker → · Palette generator →

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