#DCBB31#DCBB31

#DCBB31 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.8% C 0.150 H 94.7°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#DCBB31
RGBrgb(220, 187, 49)
HSLhsl(48, 71%, 53%)
HSVhsv(48, 78%, 86%)
CMYKcmyk(0%, 15%, 77.7%, 13.7%)
CIE-LABlab(76.67, -1.69, 68.86)
CIE-LCHlch(76.67, 68.88, 91.41°)
OKLaboklab(79.84% -0.0124 0.1498)
OKLCHoklch(79.84% 0.15 94.7)
XYZxyz(47.8426, 50.9808, 10.2255)
Luminance0.5098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCBB31 #3152DC
analogous
#DC6531 #DCBB31 #A7DC31
triadic
#DCBB31 #31DCBB #BB31DC
tetradic
#DCBB31 #31DC65 #3152DC #DC31A7
square
#DCBB31 #31DC65 #3152DC #DC31A7
split-complementary
#DCBB31 #31A7DC #6531DC
monochromatic
#7D6915 #B2951E #DCBB31 #E5CC65 #EEDE9A

Accessibility & contrast

On white

1.88
#DCBB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#DCBB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCBB31
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCBB31#FFFFFF#000000##000000
##DCBB311.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB711
Deuteranopia (green-blind)
#D8C13A
Tritanopia (blue-blind)
#EEACA1
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #dcbb31;
/* rgb */ color: rgb(220, 187, 49);
/* oklch */ color: oklch(79.8% 0.150 94.7);
Tailwind
colors: {
  custom: {
    50: '#ebcf74',
    500: '#dcbb31',
    950: '#000000',
  },
}
SCSS
$custom: #dcbb31;
$custom-light: #ebcf74;
$custom-dark: #000000;
JSON
{
  "hex": "#dcbb31",
  "rgb": {
    "r": 220,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 48.421,
    "s": 70.954,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79836,
    "c": 0.15031,
    "h": 94.7
  },
  "luminance": 0.50978
}

Semantic roles & 50–950 ramp

primary
#DCBB31
secondary
#2D3E85
accent
#5DEE3A
background
#FFFEFB
surface
#FEFAF1
border
#D6D3CB
text
#171309
muted
#85837D

Preview Lab

Preview with #DCBB31

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

Preview Lab → · Contrast checker → · Palette generator →

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