#DCC06B#DCC06B

#DCC06B is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.4% C 0.110 H 91.6°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#DCC06B
RGBrgb(220, 192, 107)
HSLhsl(45, 62%, 64%)
HSVhsv(45, 51%, 86%)
CMYKcmyk(0%, 12.7%, 51.4%, 13.7%)
CIE-LABlab(78.45, -0.75, 46.13)
CIE-LCHlch(78.45, 46.14, 90.94°)
OKLaboklab(81.4% -0.0031 0.1097)
OKLCHoklch(81.4% 0.11 91.6)
XYZxyz(51.0205, 53.9788, 21.6386)
Luminance0.5398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC06B #6B87DC
analogous
#DC886B #DCC06B #C0DC6B
triadic
#DCC06B #6BDCC0 #C06BDC
tetradic
#DCC06B #6BDC88 #6B87DC #DC6BC0
square
#DCC06B #6BDC88 #6B87DC #DC6BC0
split-complementary
#DCC06B #6BC0DC #886BDC
monochromatic
#A58627 #D0AB3A #DCC06B #E8D59C #F3EACE

Accessibility & contrast

On white

1.78
#DCC06B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#DCC06B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC06B
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC06B#FFFFFF#000000##000000
##DCC06B1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD64
Deuteranopia (green-blind)
#D7C66E
Tritanopia (blue-blind)
#EBB4AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dcc06b;
/* rgb */ color: rgb(220, 192, 107);
/* oklch */ color: oklch(81.4% 0.110 91.6);
Tailwind
colors: {
  custom: {
    50: '#e9d297',
    500: '#dcc06b',
    950: '#000000',
  },
}
SCSS
$custom: #dcc06b;
$custom-light: #e9d297;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc06b",
  "rgb": {
    "r": 220,
    "g": 192,
    "b": 107
  },
  "hsl": {
    "h": 45.133,
    "s": 61.749,
    "l": 64.118
  },
  "oklch": {
    "l": 0.81404,
    "c": 0.10974,
    "h": 91.6
  },
  "luminance": 0.53976
}

Semantic roles & 50–950 ramp

primary
#DCC06B
secondary
#435CA8
accent
#47C91C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCC06B

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

Preview Lab → · Contrast checker → · Palette generator →

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