#DFB538#DFB538

#DFB538 is a light, vivid orange. Relative luminance 0.490; OKLCH L 79.0% C 0.144 H 89.4°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#DFB538
RGBrgb(223, 181, 56)
HSLhsl(45, 72%, 55%)
HSVhsv(45, 75%, 87%)
CMYKcmyk(0%, 18.8%, 74.9%, 12.5%)
CIE-LABlab(75.47, 3.01, 65.43)
CIE-LCHlch(75.47, 65.50, 87.37°)
OKLaboklab(78.97% 0.0016 0.1437)
OKLCHoklch(78.97% 0.144 89.4)
XYZxyz(47.6719, 49.0243, 10.6924)
Luminance0.4902 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFB538 #3862DF
analogous
#DF6238 #DFB538 #B6DF38
triadic
#DFB538 #38DFB5 #B538DF
tetradic
#DFB538 #38DF62 #3862DF #DF38B6
square
#DFB538 #38DF62 #3862DF #DF38B6
split-complementary
#DFB538 #38B6DF #6238DF
monochromatic
#876A16 #BC941E #DFB538 #E7C96D #F0DCA1

Accessibility & contrast

On white

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

On black

10.80
#DFB538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFB538
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFB538#FFFFFF#000000##000000
##DFB5381.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB323
Deuteranopia (green-blind)
#D4BF3F
Tritanopia (blue-blind)
#F2A59D
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #dfb538;
/* rgb */ color: rgb(223, 181, 56);
/* oklch */ color: oklch(79.0% 0.144 89.4);
Tailwind
colors: {
  custom: {
    50: '#eeca77',
    500: '#dfb538',
    950: '#000000',
  },
}
SCSS
$custom: #dfb538;
$custom-light: #eeca77;
$custom-dark: #000000;
JSON
{
  "hex": "#dfb538",
  "rgb": {
    "r": 223,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 44.91,
    "s": 72.294,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78967,
    "c": 0.14374,
    "h": 89.4
  },
  "luminance": 0.49021
}

Semantic roles & 50–950 ramp

primary
#DFB538
secondary
#96A8DD
accent
#67EF39
background
#FFFCF7
surface
#FFF8EE
border
#D7D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #DFB538

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

Preview Lab → · Contrast checker → · Palette generator →

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