#DCBB40#DCBB40

#DCBB40 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.9% C 0.142 H 93.6°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#DCBB40
RGBrgb(220, 187, 64)
HSLhsl(47, 69%, 56%)
HSVhsv(47, 71%, 86%)
CMYKcmyk(0%, 15%, 70.9%, 13.7%)
CIE-LABlab(76.76, -1.05, 63.56)
CIE-LCHlch(76.76, 63.57, 90.95°)
OKLaboklab(79.94% -0.009 0.1414)
OKLCHoklch(79.94% 0.142 93.6)
XYZxyz(48.2135, 51.1292, 12.1789)
Luminance0.5113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCBB40 #4061DC
analogous
#DC6D40 #DCBB40 #AFDC40
triadic
#DCBB40 #40DCBB #BB40DC
tetradic
#DCBB40 #40DC6D #4061DC #DC40AF
square
#DCBB40 #40DC6D #4061DC #DC40AF
split-complementary
#DCBB40 #40AFDC #6D40DC
monochromatic
#897119 #BC9C23 #DCBB40 #E5CD74 #EFE0A7

Accessibility & contrast

On white

1.87
#DCBB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#DCBB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCBB40
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCBB40#FFFFFF#000000##000000
##DCBB401.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82E
Deuteranopia (green-blind)
#D7C247
Tritanopia (blue-blind)
#EEACA2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #dcbb40;
/* rgb */ color: rgb(220, 187, 64);
/* oklch */ color: oklch(79.9% 0.142 93.6);
Tailwind
colors: {
  custom: {
    50: '#ebcf7c',
    500: '#dcbb40',
    950: '#000000',
  },
}
SCSS
$custom: #dcbb40;
$custom-light: #ebcf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcbb40",
  "rgb": {
    "r": 220,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 47.308,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.79935,
    "c": 0.1417,
    "h": 93.6
  },
  "luminance": 0.51126
}

Semantic roles & 50–950 ramp

primary
#DCBB40
secondary
#32458F
accent
#61EC3C
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DCBB40

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

Preview Lab → · Contrast checker → · Palette generator →

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