#DCC66B#DCC66B

#DCC66B is a very light, moderate yellow. Relative luminance 0.567; OKLCH L 82.6% C 0.114 H 96.1°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#DCC66B
RGBrgb(220, 198, 107)
HSLhsl(48, 62%, 64%)
HSVhsv(48, 51%, 86%)
CMYKcmyk(0%, 10%, 51.4%, 13.7%)
CIE-LABlab(79.99, -3.87, 47.99)
CIE-LCHlch(79.99, 48.15, 94.61°)
OKLaboklab(82.62% -0.0121 0.1138)
OKLCHoklch(82.62% 0.114 96.1)
XYZxyz(52.3649, 56.6675, 22.0867)
Luminance0.5666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC66B #6B81DC
analogous
#DC8E6B #DCC66B #BADC6B
triadic
#DCC66B #6BDCC6 #C66BDC
tetradic
#DCC66B #6BDC8E #6B81DC #DC6BBA
square
#DCC66B #6BDC8E #6B81DC #DC6BBA
split-complementary
#DCC66B #6BBADC #8E6BDC
monochromatic
#A58D27 #D0B33A #DCC66B #E8D99C #F3ECCE

Accessibility & contrast

On white

1.70
#DCC66B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#DCC66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC66B
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC66B#FFFFFF#000000##000000
##DCC66B1.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C263
Deuteranopia (green-blind)
#DCC96F
Tritanopia (blue-blind)
#EBBAB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dcc66b;
/* rgb */ color: rgb(220, 198, 107);
/* oklch */ color: oklch(82.6% 0.114 96.1);
Tailwind
colors: {
  custom: {
    50: '#e9d797',
    500: '#dcc66b',
    950: '#000000',
  },
}
SCSS
$custom: #dcc66b;
$custom-light: #e9d797;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc66b",
  "rgb": {
    "r": 220,
    "g": 198,
    "b": 107
  },
  "hsl": {
    "h": 48.319,
    "s": 61.749,
    "l": 64.118
  },
  "oklch": {
    "l": 0.82623,
    "c": 0.11443,
    "h": 96.1
  },
  "luminance": 0.56665
}

Semantic roles & 50–950 ramp

primary
#DCC66B
secondary
#4357A8
accent
#3EC91C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCC66B

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

Preview Lab → · Contrast checker → · Palette generator →

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