#DCB848#DCB848

#DCB848 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.4% C 0.134 H 91.0°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#DCB848
RGBrgb(220, 184, 72)
HSLhsl(45, 68%, 57%)
HSVhsv(45, 67%, 86%)
CMYKcmyk(0%, 16.4%, 67.3%, 13.7%)
CIE-LABlab(76.05, 0.93, 59.58)
CIE-LCHlch(76.05, 59.59, 89.10°)
OKLaboklab(79.4% -0.0024 0.1344)
OKLCHoklch(79.4% 0.134 91)
XYZxyz(47.8279, 49.9673, 13.2551)
Luminance0.4996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCB848 #486CDC
analogous
#DC6E48 #DCB848 #B6DC48
triadic
#DCB848 #48DCB8 #B848DC
tetradic
#DCB848 #48DC6E #486CDC #DC48B6
square
#DCB848 #48DC6E #486CDC #DC48B6
split-complementary
#DCB848 #48B6DC #6E48DC
monochromatic
#8E721B #C29C25 #DCB848 #E6CC7B #F0E0AF

Accessibility & contrast

On white

1.91
#DCB848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#DCB848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCB848
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCB848#FFFFFF#000000##000000
##DCB8481.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB63A
Deuteranopia (green-blind)
#D4C04D
Tritanopia (blue-blind)
#EDAAA1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #dcb848;
/* rgb */ color: rgb(220, 184, 72);
/* oklch */ color: oklch(79.4% 0.134 91.0);
Tailwind
colors: {
  custom: {
    50: '#ebcd80',
    500: '#dcb848',
    950: '#000000',
  },
}
SCSS
$custom: #dcb848;
$custom-light: #ebcd80;
$custom-dark: #000000;
JSON
{
  "hex": "#dcb848",
  "rgb": {
    "r": 220,
    "g": 184,
    "b": 72
  },
  "hsl": {
    "h": 45.405,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79395,
    "c": 0.13439,
    "h": 91
  },
  "luminance": 0.49965
}

Semantic roles & 50–950 ramp

primary
#DCB848
secondary
#A2B1DE
accent
#67EB3D
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130B
muted
#85827C

Preview Lab

Preview with #DCB848

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

Preview Lab → · Contrast checker → · Palette generator →

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