#DFBF57#DFBF57

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

Color values

HEX#DFBF57
RGBrgb(223, 191, 87)
HSLhsl(46, 68%, 61%)
HSVhsv(46, 61%, 87%)
CMYKcmyk(0%, 14.3%, 61%, 12.5%)
CIE-LABlab(78.25, -0.53, 55.46)
CIE-LCHlch(78.25, 55.46, 90.55°)
OKLaboklab(81.24% -0.005 0.1277)
OKLCHoklch(81.24% 0.128 92.2)
XYZxyz(50.7848, 53.6403, 16.6936)
Luminance0.5364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBF57 #5777DF
analogous
#DF7B57 #DFBF57 #BBDF57
triadic
#DFBF57 #57DFBF #BF57DF
tetradic
#DFBF57 #57DF7B #5777DF #DF57BB
square
#DFBF57 #57DF7B #5777DF #DF57BB
split-complementary
#DFBF57 #57BBDF #7B57DF
monochromatic
#9E801E #D1A928 #DFBF57 #E9D38A #F3E6BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFBF57#FFFFFF#000000##000000
##DFBF571.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)
#D2BC4C
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#F0B1A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dfbf57;
/* rgb */ color: rgb(223, 191, 87);
/* oklch */ color: oklch(81.2% 0.128 92.2);
Tailwind
colors: {
  custom: {
    50: '#ecd28a',
    500: '#dfbf57',
    950: '#000000',
  },
}
SCSS
$custom: #dfbf57;
$custom-light: #ecd28a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbf57",
  "rgb": {
    "r": 223,
    "g": 191,
    "b": 87
  },
  "hsl": {
    "h": 45.882,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81242,
    "c": 0.12783,
    "h": 92.2
  },
  "luminance": 0.53638
}

Semantic roles & 50–950 ramp

primary
#DFBF57
secondary
#3952A1
accent
#41D016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFBF57

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

Preview Lab → · Contrast checker → · Palette generator →

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