#DCB331#DCB331

#DCB331 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.2% C 0.146 H 90.2°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#DCB331
RGBrgb(220, 179, 49)
HSLhsl(46, 71%, 53%)
HSVhsv(46, 78%, 86%)
CMYKcmyk(0%, 18.6%, 77.7%, 13.7%)
CIE-LABlab(74.62, 2.49, 67.00)
CIE-LCHlch(74.62, 67.04, 87.87°)
OKLaboklab(78.22% -0.0004 0.1458)
OKLCHoklch(78.22% 0.146 90.2)
XYZxyz(46.1924, 47.6806, 9.6754)
Luminance0.4768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCB331 #315ADC
analogous
#DC5D31 #DCB331 #AFDC31
triadic
#DCB331 #31DCB3 #B331DC
tetradic
#DCB331 #31DC5D #315ADC #DC31AF
square
#DCB331 #31DC5D #315ADC #DC31AF
split-complementary
#DCB331 #31AFDC #5D31DC
monochromatic
#7D6415 #B28E1E #DCB331 #E5C665 #EEDA9A

Accessibility & contrast

On white

1.99
#DCB331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#DCB331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCB331
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCB331#FFFFFF#000000##000000
##DCB3311.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B116
Deuteranopia (green-blind)
#D2BC39
Tritanopia (blue-blind)
#EEA39A
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dcb331;
/* rgb */ color: rgb(220, 179, 49);
/* oklch */ color: oklch(78.2% 0.146 90.2);
Tailwind
colors: {
  custom: {
    50: '#ecc973',
    500: '#dcb331',
    950: '#000000',
  },
}
SCSS
$custom: #dcb331;
$custom-light: #ecc973;
$custom-dark: #000000;
JSON
{
  "hex": "#dcb331",
  "rgb": {
    "r": 220,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 45.614,
    "s": 70.954,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78222,
    "c": 0.1458,
    "h": 90.2
  },
  "luminance": 0.47678
}

Semantic roles & 50–950 ramp

primary
#DCB331
secondary
#8FA1D9
accent
#65EE3A
background
#FFFCF7
surface
#FEF8ED
border
#D6D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #DCB331

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

Preview Lab → · Contrast checker → · Palette generator →

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