#DFB935#DFB935

#DFB935 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.7% C 0.147 H 92.0°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#DFB935
RGBrgb(223, 185, 53)
HSLhsl(47, 73%, 54%)
HSVhsv(47, 76%, 87%)
CMYKcmyk(0%, 17%, 76.2%, 12.5%)
CIE-LABlab(76.46, 0.79, 67.44)
CIE-LCHlch(76.46, 67.44, 89.33°)
OKLaboklab(79.75% -0.005 0.1474)
OKLCHoklch(79.75% 0.148 92)
XYZxyz(48.4258, 50.6459, 10.5925)
Luminance0.5064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFB935 #355BDF
analogous
#DF6435 #DFB935 #B0DF35
triadic
#DFB935 #35DFB9 #B935DF
tetradic
#DFB935 #35DF64 #355BDF #DF35B0
square
#DFB935 #35DF64 #355BDF #DF35B0
split-complementary
#DFB935 #35B0DF #6435DF
monochromatic
#856C15 #B9971D #DFB935 #E7CB6A #F0DE9F

Accessibility & contrast

On white

1.89
#DFB935 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#DFB935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFB935
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFB935#FFFFFF#000000##000000
##DFB9351.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB61B
Deuteranopia (green-blind)
#D7C13D
Tritanopia (blue-blind)
#F1A9A0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #dfb935;
/* rgb */ color: rgb(223, 185, 53);
/* oklch */ color: oklch(79.7% 0.147 92.0);
Tailwind
colors: {
  custom: {
    50: '#eecd76',
    500: '#dfb935',
    950: '#000000',
  },
}
SCSS
$custom: #dfb935;
$custom-light: #eecd76;
$custom-dark: #000000;
JSON
{
  "hex": "#dfb935",
  "rgb": {
    "r": 223,
    "g": 185,
    "b": 53
  },
  "hsl": {
    "h": 46.588,
    "s": 72.65,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79748,
    "c": 0.1475,
    "h": 92
  },
  "luminance": 0.50643
}

Semantic roles & 50–950 ramp

primary
#DFB935
secondary
#2D428B
accent
#61EF38
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#171309
muted
#85837D

Preview Lab

Preview with #DFB935

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

Preview Lab → · Contrast checker → · Palette generator →

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