#DCB950#DCB950

#DCB950 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.7% C 0.129 H 90.7°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#DCB950
RGBrgb(220, 185, 80)
HSLhsl(45, 67%, 59%)
HSVhsv(45, 64%, 86%)
CMYKcmyk(0%, 15.9%, 63.6%, 13.7%)
CIE-LABlab(76.37, 0.88, 56.45)
CIE-LCHlch(76.37, 56.46, 89.10°)
OKLaboklab(79.67% -0.0015 0.129)
OKLCHoklch(79.67% 0.129 90.7)
XYZxyz(48.3145, 50.4955, 14.7896)
Luminance0.5049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCB950 #5073DC
analogous
#DC7350 #DCB950 #B9DC50
triadic
#DCB950 #50DCB9 #B950DC
tetradic
#DCB950 #50DC73 #5073DC #DC50B9
square
#DCB950 #50DC73 #5073DC #DC50B9
split-complementary
#DCB950 #50B9DC #7350DC
monochromatic
#94761E #C79F28 #DCB950 #E6CD83 #F0E2B6

Accessibility & contrast

On white

1.89
#DCB950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#DCB950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCB950
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCB950#FFFFFF#000000##000000
##DCB9501.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB744
Deuteranopia (green-blind)
#D5C155
Tritanopia (blue-blind)
#EDABA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dcb950;
/* rgb */ color: rgb(220, 185, 80);
/* oklch */ color: oklch(79.7% 0.129 90.7);
Tailwind
colors: {
  custom: {
    50: '#eacd85',
    500: '#dcb950',
    950: '#000000',
  },
}
SCSS
$custom: #dcb950;
$custom-light: #eacd85;
$custom-dark: #000000;
JSON
{
  "hex": "#dcb950",
  "rgb": {
    "r": 220,
    "g": 185,
    "b": 80
  },
  "hsl": {
    "h": 45,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.79672,
    "c": 0.12897,
    "h": 90.7
  },
  "luminance": 0.50493
}

Semantic roles & 50–950 ramp

primary
#DCB950
secondary
#385099
accent
#69EA3E
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DCB950

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

Preview Lab → · Contrast checker → · Palette generator →

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