#DFBF54#DFBF54

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

Color values

HEX#DFBF54
RGBrgb(223, 191, 84)
HSLhsl(46, 68%, 60%)
HSVhsv(46, 62%, 87%)
CMYKcmyk(0%, 14.3%, 62.3%, 12.5%)
CIE-LABlab(78.22, -0.73, 56.78)
CIE-LCHlch(78.22, 56.78, 90.73°)
OKLaboklab(81.21% -0.0059 0.1301)
OKLCHoklch(81.21% 0.13 92.6)
XYZxyz(50.6648, 53.5923, 16.0615)
Luminance0.5359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBF54 #5474DF
analogous
#DF7954 #DFBF54 #BADF54
triadic
#DFBF54 #54DFBF #BF54DF
tetradic
#DFBF54 #54DF79 #5474DF #DF54BA
square
#DFBF54 #54DF79 #5474DF #DF54BA
split-complementary
#DFBF54 #54BADF #7954DF
monochromatic
#9C7E1D #CFA827 #DFBF54 #E9D288 #F2E6BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFBF54#FFFFFF#000000##000000
##DFBF541.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)
#D2BC48
Deuteranopia (green-blind)
#DAC559
Tritanopia (blue-blind)
#F0B1A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dfbf54;
/* rgb */ color: rgb(223, 191, 84);
/* oklch */ color: oklch(81.2% 0.130 92.6);
Tailwind
colors: {
  custom: {
    50: '#ecd288',
    500: '#dfbf54',
    950: '#000000',
  },
}
SCSS
$custom: #dfbf54;
$custom-light: #ecd288;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbf54",
  "rgb": {
    "r": 223,
    "g": 191,
    "b": 84
  },
  "hsl": {
    "h": 46.187,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81211,
    "c": 0.13027,
    "h": 92.6
  },
  "luminance": 0.5359
}

Semantic roles & 50–950 ramp

primary
#DFBF54
secondary
#38509F
accent
#40D015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFBF54

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

Preview Lab → · Contrast checker → · Palette generator →

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