#DFBF59#DFBF59

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

Color values

HEX#DFBF59
RGBrgb(223, 191, 89)
HSLhsl(46, 68%, 61%)
HSVhsv(46, 60%, 87%)
CMYKcmyk(0%, 14.3%, 60.1%, 12.5%)
CIE-LABlab(78.27, -0.39, 54.57)
CIE-LCHlch(78.27, 54.57, 90.41°)
OKLaboklab(81.26% -0.0043 0.1261)
OKLCHoklch(81.26% 0.126 92)
XYZxyz(50.8677, 53.6735, 17.1299)
Luminance0.5367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBF59 #5979DF
analogous
#DF7C59 #DFBF59 #BCDF59
triadic
#DFBF59 #59DFBF #BF59DF
tetradic
#DFBF59 #59DF7C #5979DF #DF59BC
square
#DFBF59 #59DF7C #5979DF #DF59BC
split-complementary
#DFBF59 #59BCDF #7C59DF
monochromatic
#9F801F #D2AA29 #DFBF59 #E9D38C #F3E7C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFBF59#FFFFFF#000000##000000
##DFBF591.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)
#D1BC4E
Deuteranopia (green-blind)
#D9C65D
Tritanopia (blue-blind)
#F0B1A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dfbf59;
/* rgb */ color: rgb(223, 191, 89);
/* oklch */ color: oklch(81.3% 0.126 92.0);
Tailwind
colors: {
  custom: {
    50: '#ecd28b',
    500: '#dfbf59',
    950: '#000000',
  },
}
SCSS
$custom: #dfbf59;
$custom-light: #ecd28b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbf59",
  "rgb": {
    "r": 223,
    "g": 191,
    "b": 89
  },
  "hsl": {
    "h": 45.672,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81263,
    "c": 0.12615,
    "h": 92
  },
  "luminance": 0.53671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFBF59

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

Preview Lab → · Contrast checker → · Palette generator →

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