#DFBF52#DFBF52

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

Color values

HEX#DFBF52
RGBrgb(223, 191, 82)
HSLhsl(46, 69%, 60%)
HSVhsv(46, 63%, 87%)
CMYKcmyk(0%, 14.3%, 63.2%, 12.5%)
CIE-LABlab(78.21, -0.86, 57.65)
CIE-LCHlch(78.21, 57.65, 90.85°)
OKLaboklab(81.19% -0.0065 0.1317)
OKLCHoklch(81.19% 0.132 92.8)
XYZxyz(50.5876, 53.5615, 15.6548)
Luminance0.5356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBF52 #5272DF
analogous
#DF7952 #DFBF52 #B8DF52
triadic
#DFBF52 #52DFBF #BF52DF
tetradic
#DFBF52 #52DF79 #5272DF #DF52B8
square
#DFBF52 #52DF79 #5272DF #DF52B8
split-complementary
#DFBF52 #52B8DF #7952DF
monochromatic
#9A7E1D #CEA826 #DFBF52 #E9D286 #F2E5B9

Accessibility & contrast

On white

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

On black

11.71
#DFBF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBF52
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBF52#FFFFFF#000000##000000
##DFBF521.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC46
Deuteranopia (green-blind)
#DAC557
Tritanopia (blue-blind)
#F0B1A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dfbf52;
/* rgb */ color: rgb(223, 191, 82);
/* oklch */ color: oklch(81.2% 0.132 92.8);
Tailwind
colors: {
  custom: {
    50: '#ecd287',
    500: '#dfbf52',
    950: '#000000',
  },
}
SCSS
$custom: #dfbf52;
$custom-light: #ecd287;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbf52",
  "rgb": {
    "r": 223,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 46.383,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8119,
    "c": 0.13187,
    "h": 92.8
  },
  "luminance": 0.53559
}

Semantic roles & 50–950 ramp

primary
#DFBF52
secondary
#374F9E
accent
#64EC3C
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFBF52

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

Preview Lab → · Contrast checker → · Palette generator →

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