#DFBF5F#DFBF5F

#DFBF5F is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.3% C 0.121 H 91.1°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#DFBF5F
RGBrgb(223, 191, 95)
HSLhsl(45, 67%, 62%)
HSVhsv(45, 57%, 87%)
CMYKcmyk(0%, 14.3%, 57.4%, 12.5%)
CIE-LABlab(78.33, 0.04, 51.85)
CIE-LCHlch(78.33, 51.85, 89.96°)
OKLaboklab(81.33% -0.0023 0.1209)
OKLCHoklch(81.33% 0.121 91.1)
XYZxyz(51.1300, 53.7784, 18.5114)
Luminance0.5378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBF5F #5F7FDF
analogous
#DF7F5F #DFBF5F #BFDF5F
triadic
#DFBF5F #5FDFBF #BF5FDF
tetradic
#DFBF5F #5FDF7F #5F7FDF #DF5FBF
square
#DFBF5F #5FDF7F #5F7FDF #DF5FBF
split-complementary
#DFBF5F #5FBFDF #7F5FDF
monochromatic
#A38221 #D5AB2C #DFBF5F #E9D392 #F3E8C5

Accessibility & contrast

On white

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

On black

11.76
#DFBF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBF5F
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBF5F#FFFFFF#000000##000000
##DFBF5F1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC56
Deuteranopia (green-blind)
#D9C663
Tritanopia (blue-blind)
#EFB2A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dfbf5f;
/* rgb */ color: rgb(223, 191, 95);
/* oklch */ color: oklch(81.3% 0.121 91.1);
Tailwind
colors: {
  custom: {
    50: '#ecd28f',
    500: '#dfbf5f',
    950: '#000000',
  },
}
SCSS
$custom: #dfbf5f;
$custom-light: #ecd28f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbf5f",
  "rgb": {
    "r": 223,
    "g": 191,
    "b": 95
  },
  "hsl": {
    "h": 45,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.81332,
    "c": 0.12096,
    "h": 91.1
  },
  "luminance": 0.53776
}

Semantic roles & 50–950 ramp

primary
#DFBF5F
secondary
#3C57A6
accent
#45CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFBF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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