#DFB535#DFB535

#DFB535 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.9% C 0.145 H 89.6°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#DFB535
RGBrgb(223, 181, 53)
HSLhsl(45, 73%, 54%)
HSVhsv(45, 76%, 87%)
CMYKcmyk(0%, 18.8%, 76.2%, 12.5%)
CIE-LABlab(75.45, 2.89, 66.49)
CIE-LCHlch(75.45, 66.55, 87.51°)
OKLaboklab(78.95% 0.0009 0.1454)
OKLCHoklch(78.95% 0.145 89.6)
XYZxyz(47.6007, 48.9958, 10.3175)
Luminance0.4899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFB535 #355FDF
analogous
#DF6035 #DFB535 #B4DF35
triadic
#DFB535 #35DFB5 #B535DF
tetradic
#DFB535 #35DF60 #355FDF #DF35B4
square
#DFB535 #35DF60 #355FDF #DF35B4
split-complementary
#DFB535 #35B4DF #6035DF
monochromatic
#856915 #B9931D #DFB535 #E7C86A #F0DC9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFB535#FFFFFF#000000##000000
##DFB5351.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)
#CAB31D
Deuteranopia (green-blind)
#D4BF3C
Tritanopia (blue-blind)
#F2A59C
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #dfb535;
/* rgb */ color: rgb(223, 181, 53);
/* oklch */ color: oklch(78.9% 0.145 89.6);
Tailwind
colors: {
  custom: {
    50: '#eeca76',
    500: '#dfb535',
    950: '#000000',
  },
}
SCSS
$custom: #dfb535;
$custom-light: #eeca76;
$custom-dark: #000000;
JSON
{
  "hex": "#dfb535",
  "rgb": {
    "r": 223,
    "g": 181,
    "b": 53
  },
  "hsl": {
    "h": 45.176,
    "s": 72.65,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78948,
    "c": 0.14539,
    "h": 89.6
  },
  "luminance": 0.48993
}

Semantic roles & 50–950 ramp

primary
#DFB535
secondary
#94A6DC
accent
#66EF38
background
#FFFCF7
surface
#FFF8ED
border
#D7D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #DFB535

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

Preview Lab → · Contrast checker → · Palette generator →

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