#DFBF5B#DFBF5B

#DFBF5B is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.3% C 0.124 H 91.7°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#DFBF5B
RGBrgb(223, 191, 91)
HSLhsl(45, 67%, 62%)
HSVhsv(45, 59%, 87%)
CMYKcmyk(0%, 14.3%, 59.2%, 12.5%)
CIE-LABlab(78.29, -0.25, 53.67)
CIE-LCHlch(78.29, 53.67, 90.27°)
OKLaboklab(81.29% -0.0037 0.1244)
OKLCHoklch(81.29% 0.124 91.7)
XYZxyz(50.9528, 53.7075, 17.5783)
Luminance0.5371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBF5B #5B7BDF
analogous
#DF7D5B #DFBF5B #BDDF5B
triadic
#DFBF5B #5BDFBF #BF5BDF
tetradic
#DFBF5B #5BDF7D #5B7BDF #DF5BBD
square
#DFBF5B #5BDF7D #5B7BDF #DF5BBD
split-complementary
#DFBF5B #5BBDDF #7D5BDF
monochromatic
#A0811F #D4AA29 #DFBF5B #E9D38E #F3E7C1

Accessibility & contrast

On white

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

On black

11.74
#DFBF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBF5B
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBF5B#FFFFFF#000000##000000
##DFBF5B1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC51
Deuteranopia (green-blind)
#D9C65F
Tritanopia (blue-blind)
#F0B2A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dfbf5b;
/* rgb */ color: rgb(223, 191, 91);
/* oklch */ color: oklch(81.3% 0.124 91.7);
Tailwind
colors: {
  custom: {
    50: '#ecd28d',
    500: '#dfbf5b',
    950: '#000000',
  },
}
SCSS
$custom: #dfbf5b;
$custom-light: #ecd28d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbf5b",
  "rgb": {
    "r": 223,
    "g": 191,
    "b": 91
  },
  "hsl": {
    "h": 45.455,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81285,
    "c": 0.12445,
    "h": 91.7
  },
  "luminance": 0.53705
}

Semantic roles & 50–950 ramp

primary
#DFBF5B
secondary
#3B54A3
accent
#43CF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFBF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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