#DCB948#DCB948

#DCB948 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.6% C 0.135 H 91.6°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#DCB948
RGBrgb(220, 185, 72)
HSLhsl(46, 68%, 57%)
HSVhsv(46, 67%, 86%)
CMYKcmyk(0%, 15.9%, 67.3%, 13.7%)
CIE-LABlab(76.30, 0.41, 59.85)
CIE-LCHlch(76.30, 59.85, 89.61°)
OKLaboklab(79.6% -0.0039 0.1349)
OKLCHoklch(79.6% 0.135 91.6)
XYZxyz(48.0363, 50.3842, 13.3246)
Luminance0.5038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCB948 #486BDC
analogous
#DC6F48 #DCB948 #B5DC48
triadic
#DCB948 #48DCB9 #B948DC
tetradic
#DCB948 #48DC6F #486BDC #DC48B5
square
#DCB948 #48DC6F #486BDC #DC48B5
split-complementary
#DCB948 #48B5DC #6F48DC
monochromatic
#8E731B #C29D25 #DCB948 #E6CD7B #F0E0AF

Accessibility & contrast

On white

1.90
#DCB948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#DCB948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCB948
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCB948#FFFFFF#000000##000000
##DCB9481.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB63A
Deuteranopia (green-blind)
#D5C04D
Tritanopia (blue-blind)
#EDABA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dcb948;
/* rgb */ color: rgb(220, 185, 72);
/* oklch */ color: oklch(79.6% 0.135 91.6);
Tailwind
colors: {
  custom: {
    50: '#ebcd80',
    500: '#dcb948',
    950: '#000000',
  },
}
SCSS
$custom: #dcb948;
$custom-light: #ebcd80;
$custom-dark: #000000;
JSON
{
  "hex": "#dcb948",
  "rgb": {
    "r": 220,
    "g": 185,
    "b": 72
  },
  "hsl": {
    "h": 45.811,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79597,
    "c": 0.13499,
    "h": 91.6
  },
  "luminance": 0.50381
}

Semantic roles & 50–950 ramp

primary
#DCB948
secondary
#354B94
accent
#66EB3D
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DCB948

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

Preview Lab → · Contrast checker → · Palette generator →

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