#DFBF58#DFBF58

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

Color values

HEX#DFBF58
RGBrgb(223, 191, 88)
HSLhsl(46, 68%, 61%)
HSVhsv(46, 61%, 87%)
CMYKcmyk(0%, 14.3%, 60.5%, 12.5%)
CIE-LABlab(78.26, -0.46, 55.01)
CIE-LCHlch(78.26, 55.02, 90.48°)
OKLaboklab(81.25% -0.0046 0.1269)
OKLCHoklch(81.25% 0.127 92.1)
XYZxyz(50.8260, 53.6568, 16.9103)
Luminance0.5365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBF58 #5878DF
analogous
#DF7B58 #DFBF58 #BBDF58
triadic
#DFBF58 #58DFBF #BF58DF
tetradic
#DFBF58 #58DF7B #5878DF #DF58BB
square
#DFBF58 #58DF7B #5878DF #DF58BB
split-complementary
#DFBF58 #58BBDF #7B58DF
monochromatic
#9E801E #D2A928 #DFBF58 #E9D38B #F3E6BF

Accessibility & contrast

On white

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

On black

11.73
#DFBF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBF58
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBF58#FFFFFF#000000##000000
##DFBF581.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC4D
Deuteranopia (green-blind)
#D9C65C
Tritanopia (blue-blind)
#F0B1A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dfbf58;
/* rgb */ color: rgb(223, 191, 88);
/* oklch */ color: oklch(81.3% 0.127 92.1);
Tailwind
colors: {
  custom: {
    50: '#ecd28b',
    500: '#dfbf58',
    950: '#000000',
  },
}
SCSS
$custom: #dfbf58;
$custom-light: #ecd28b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbf58",
  "rgb": {
    "r": 223,
    "g": 191,
    "b": 88
  },
  "hsl": {
    "h": 45.778,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81252,
    "c": 0.12699,
    "h": 92.1
  },
  "luminance": 0.53654
}

Semantic roles & 50–950 ramp

primary
#DFBF58
secondary
#3A52A2
accent
#42D016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFBF58

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

Preview Lab → · Contrast checker → · Palette generator →

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