#DCBF52#DCBF52

#DCBF52 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.9% C 0.131 H 94.3°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#DCBF52
RGBrgb(220, 191, 82)
HSLhsl(47, 66%, 59%)
HSVhsv(47, 63%, 86%)
CMYKcmyk(0%, 13.2%, 62.7%, 13.7%)
CIE-LABlab(77.93, -2.12, 57.26)
CIE-LCHlch(77.93, 57.30, 92.12°)
OKLaboklab(80.91% -0.01 0.131)
OKLCHoklch(80.91% 0.131 94.3)
XYZxyz(49.6713, 53.0890, 15.6119)
Luminance0.5309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCBF52 #526FDC
analogous
#DC7A52 #DCBF52 #B4DC52
triadic
#DCBF52 #52DCBF #BF52DC
tetradic
#DCBF52 #52DC7A #526FDC #DC52B4
square
#DCBF52 #52DC7A #526FDC #DC52B4
split-complementary
#DCBF52 #52B4DC #7A52DC
monochromatic
#957C1E #C8A729 #DCBF52 #E6D285 #F1E5B8

Accessibility & contrast

On white

1.81
#DCBF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#DCBF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCBF52
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCBF52#FFFFFF#000000##000000
##DCBF521.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC46
Deuteranopia (green-blind)
#D9C457
Tritanopia (blue-blind)
#EDB1A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dcbf52;
/* rgb */ color: rgb(220, 191, 82);
/* oklch */ color: oklch(80.9% 0.131 94.3);
Tailwind
colors: {
  custom: {
    50: '#ead287',
    500: '#dcbf52',
    950: '#000000',
  },
}
SCSS
$custom: #dcbf52;
$custom-light: #ead287;
$custom-dark: #000000;
JSON
{
  "hex": "#dcbf52",
  "rgb": {
    "r": 220,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 47.391,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80906,
    "c": 0.13135,
    "h": 94.3
  },
  "luminance": 0.53086
}

Semantic roles & 50–950 ramp

primary
#DCBF52
secondary
#384D9A
accent
#62E93F
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCBF52

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

Preview Lab → · Contrast checker → · Palette generator →

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