#DFBF51#DFBF51

#DFBF51 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 81.2% C 0.133 H 92.9°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#DFBF51
RGBrgb(223, 191, 81)
HSLhsl(46, 69%, 60%)
HSVhsv(46, 64%, 87%)
CMYKcmyk(0%, 14.3%, 63.7%, 12.5%)
CIE-LABlab(78.20, -0.92, 58.08)
CIE-LCHlch(78.20, 58.09, 90.91°)
OKLaboklab(81.18% -0.0068 0.1325)
OKLCHoklch(81.18% 0.133 92.9)
XYZxyz(50.5498, 53.5463, 15.4559)
Luminance0.5354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBF51 #5171DF
analogous
#DF7851 #DFBF51 #B8DF51
triadic
#DFBF51 #51DFBF #BF51DF
tetradic
#DFBF51 #51DF78 #5171DF #DF51B8
square
#DFBF51 #51DF78 #5171DF #DF51B8
split-complementary
#DFBF51 #51B8DF #7851DF
monochromatic
#997D1C #CDA726 #DFBF51 #E9D285 #F2E5B8

Accessibility & contrast

On white

1.79
#DFBF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#DFBF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBF51
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBF51#FFFFFF#000000##000000
##DFBF511.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC44
Deuteranopia (green-blind)
#DAC556
Tritanopia (blue-blind)
#F0B1A7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dfbf51;
/* rgb */ color: rgb(223, 191, 81);
/* oklch */ color: oklch(81.2% 0.133 92.9);
Tailwind
colors: {
  custom: {
    50: '#ecd286',
    500: '#dfbf51',
    950: '#000000',
  },
}
SCSS
$custom: #dfbf51;
$custom-light: #ecd286;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbf51",
  "rgb": {
    "r": 223,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 46.479,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81181,
    "c": 0.13265,
    "h": 92.9
  },
  "luminance": 0.53544
}

Semantic roles & 50–950 ramp

primary
#DFBF51
secondary
#374E9D
accent
#64EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFBF51

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

Preview Lab → · Contrast checker → · Palette generator →

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