#DFBF56#DFBF56

#DFBF56 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 81.2% C 0.129 H 92.4°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#DFBF56
RGBrgb(223, 191, 86)
HSLhsl(46, 68%, 61%)
HSVhsv(46, 61%, 87%)
CMYKcmyk(0%, 14.3%, 61.4%, 12.5%)
CIE-LABlab(78.24, -0.60, 55.90)
CIE-LCHlch(78.24, 55.90, 90.61°)
OKLaboklab(81.23% -0.0053 0.1285)
OKLCHoklch(81.23% 0.129 92.4)
XYZxyz(50.7443, 53.6241, 16.4800)
Luminance0.5362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBF56 #5676DF
analogous
#DF7A56 #DFBF56 #BBDF56
triadic
#DFBF56 #56DFBF #BF56DF
tetradic
#DFBF56 #56DF7A #5676DF #DF56BB
square
#DFBF56 #56DF7A #5676DF #DF56BB
split-complementary
#DFBF56 #56BBDF #7A56DF
monochromatic
#9D7F1E #D0A927 #DFBF56 #E9D289 #F2E6BD

Accessibility & contrast

On white

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

On black

11.72
#DFBF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBF56
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBF56#FFFFFF#000000##000000
##DFBF561.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC4B
Deuteranopia (green-blind)
#DAC55B
Tritanopia (blue-blind)
#F0B1A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dfbf56;
/* rgb */ color: rgb(223, 191, 86);
/* oklch */ color: oklch(81.2% 0.129 92.4);
Tailwind
colors: {
  custom: {
    50: '#ecd289',
    500: '#dfbf56',
    950: '#000000',
  },
}
SCSS
$custom: #dfbf56;
$custom-light: #ecd289;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbf56",
  "rgb": {
    "r": 223,
    "g": 191,
    "b": 86
  },
  "hsl": {
    "h": 45.985,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81231,
    "c": 0.12865,
    "h": 92.4
  },
  "luminance": 0.53621
}

Semantic roles & 50–950 ramp

primary
#DFBF56
secondary
#3951A0
accent
#41D015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFBF56

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

Preview Lab → · Contrast checker → · Palette generator →

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