#DCB330#DCB330

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

Color values

HEX#DCB330
RGBrgb(220, 179, 48)
HSLhsl(46, 71%, 53%)
HSVhsv(46, 78%, 86%)
CMYKcmyk(0%, 18.6%, 78.2%, 13.7%)
CIE-LABlab(74.62, 2.46, 67.33)
CIE-LCHlch(74.62, 67.37, 87.91°)
OKLaboklab(78.22% -0.0006 0.1463)
OKLCHoklch(78.22% 0.146 90.3)
XYZxyz(46.1716, 47.6722, 9.5655)
Luminance0.4767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCB330 #3059DC
analogous
#DC5D30 #DCB330 #AFDC30
triadic
#DCB330 #30DCB3 #B330DC
tetradic
#DCB330 #30DC5D #3059DC #DC30AF
square
#DCB330 #30DC5D #3059DC #DC30AF
split-complementary
#DCB330 #30AFDC #5D30DC
monochromatic
#7D6415 #B18E1E #DCB330 #E5C664 #EED999

Accessibility & contrast

On white

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

On black

10.53
#DCB330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCB330
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCB330#FFFFFF#000000##000000
##DCB3301.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcb330;
/* rgb */ color: rgb(220, 179, 48);
/* oklch */ color: oklch(78.2% 0.146 90.3);
Tailwind
colors: {
  custom: {
    50: '#ecc973',
    500: '#dcb330',
    950: '#000000',
  },
}
SCSS
$custom: #dcb330;
$custom-light: #ecc973;
$custom-dark: #000000;
JSON
{
  "hex": "#dcb330",
  "rgb": {
    "r": 220,
    "g": 179,
    "b": 48
  },
  "hsl": {
    "h": 45.698,
    "s": 71.074,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78216,
    "c": 0.1463,
    "h": 90.3
  },
  "luminance": 0.47669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCB330

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

Preview Lab → · Contrast checker → · Palette generator →

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