#DCB748#DCB748

#DCB748 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 79.2% C 0.134 H 90.4°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#DCB748
RGBrgb(220, 183, 72)
HSLhsl(45, 68%, 57%)
HSVhsv(45, 67%, 86%)
CMYKcmyk(0%, 16.8%, 67.3%, 13.7%)
CIE-LABlab(75.79, 1.46, 59.32)
CIE-LCHlch(75.79, 59.33, 88.59°)
OKLaboklab(79.19% -0.0009 0.1338)
OKLCHoklch(79.19% 0.134 90.4)
XYZxyz(47.6209, 49.5533, 13.1861)
Luminance0.4955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCB748 #486DDC
analogous
#DC6D48 #DCB748 #B7DC48
triadic
#DCB748 #48DCB7 #B748DC
tetradic
#DCB748 #48DC6D #486DDC #DC48B7
square
#DCB748 #48DC6D #486DDC #DC48B7
split-complementary
#DCB748 #48B7DC #6D48DC
monochromatic
#8E721B #C29B25 #DCB748 #E6CB7B #F0DFAF

Accessibility & contrast

On white

1.92
#DCB748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#DCB748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCB748
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCB748#FFFFFF#000000##000000
##DCB7481.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53A
Deuteranopia (green-blind)
#D4BF4D
Tritanopia (blue-blind)
#EDA9A0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #dcb748;
/* rgb */ color: rgb(220, 183, 72);
/* oklch */ color: oklch(79.2% 0.134 90.4);
Tailwind
colors: {
  custom: {
    50: '#ebcc80',
    500: '#dcb748',
    950: '#000000',
  },
}
SCSS
$custom: #dcb748;
$custom-light: #ebcc80;
$custom-dark: #000000;
JSON
{
  "hex": "#dcb748",
  "rgb": {
    "r": 220,
    "g": 183,
    "b": 72
  },
  "hsl": {
    "h": 45,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79194,
    "c": 0.1338,
    "h": 90.4
  },
  "luminance": 0.4955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCB748

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

Preview Lab → · Contrast checker → · Palette generator →

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