#DCB32F#DCB32F

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

Color values

HEX#DCB32F
RGBrgb(220, 179, 47)
HSLhsl(46, 71%, 52%)
HSVhsv(46, 79%, 86%)
CMYKcmyk(0%, 18.6%, 78.6%, 13.7%)
CIE-LABlab(74.61, 2.42, 67.65)
CIE-LCHlch(74.61, 67.70, 87.95°)
OKLaboklab(78.21% -0.0008 0.1468)
OKLCHoklch(78.21% 0.147 90.3)
XYZxyz(46.1512, 47.6641, 9.4581)
Luminance0.4766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCB32F #2F58DC
analogous
#DC5C2F #DCB32F #AFDC2F
triadic
#DCB32F #2FDCB3 #B32FDC
tetradic
#DCB32F #2FDC5C #2F58DC #DC2FAF
square
#DCB32F #2FDC5C #2F58DC #DC2FAF
split-complementary
#DCB32F #2FAFDC #5C2FDC
monochromatic
#7C6315 #B08D1E #DCB32F #E5C663 #EED998

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCB32F#FFFFFF#000000##000000
##DCB32F1.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)
#C8B111
Deuteranopia (green-blind)
#D2BC37
Tritanopia (blue-blind)
#EEA39A
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dcb32f;
/* rgb */ color: rgb(220, 179, 47);
/* oklch */ color: oklch(78.2% 0.147 90.3);
Tailwind
colors: {
  custom: {
    50: '#ecc973',
    500: '#dcb32f',
    950: '#000000',
  },
}
SCSS
$custom: #dcb32f;
$custom-light: #ecc973;
$custom-dark: #000000;
JSON
{
  "hex": "#dcb32f",
  "rgb": {
    "r": 220,
    "g": 179,
    "b": 47
  },
  "hsl": {
    "h": 45.78,
    "s": 71.193,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7821,
    "c": 0.14679,
    "h": 90.3
  },
  "luminance": 0.47661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCB32F

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

Preview Lab → · Contrast checker → · Palette generator →

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