#DCC866#DCC866

#DCC866 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 83.0% C 0.121 H 98.0°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#DCC866
RGBrgb(220, 200, 102)
HSLhsl(50, 63%, 63%)
HSVhsv(50, 54%, 86%)
CMYKcmyk(0%, 9.1%, 53.6%, 13.7%)
CIE-LABlab(80.45, -5.31, 50.94)
CIE-LCHlch(80.45, 51.21, 95.96°)
OKLaboklab(82.97% -0.0168 0.1198)
OKLCHoklch(82.97% 0.121 98)
XYZxyz(52.5696, 57.4856, 20.8945)
Luminance0.5748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC866 #667ADC
analogous
#DC8D66 #DCC866 #B5DC66
triadic
#DCC866 #66DCC8 #C866DC
tetradic
#DCC866 #66DC8D #667ADC #DC66B5
square
#DCC866 #66DC8D #667ADC #DC66B5
split-complementary
#DCC866 #66B5DC #8D66DC
monochromatic
#A28D25 #D1B634 #DCC866 #E7DA98 #F3ECCA

Accessibility & contrast

On white

1.68
#DCC866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#DCC866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC866
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC866#FFFFFF#000000##000000
##DCC8661.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C45D
Deuteranopia (green-blind)
#DECB6A
Tritanopia (blue-blind)
#EBBCB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc866;
/* rgb */ color: rgb(220, 200, 102);
/* oklch */ color: oklch(83.0% 0.121 98.0);
Tailwind
colors: {
  custom: {
    50: '#e9d894',
    500: '#dcc866',
    950: '#000000',
  },
}
SCSS
$custom: #dcc866;
$custom-light: #e9d894;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc866",
  "rgb": {
    "r": 220,
    "g": 200,
    "b": 102
  },
  "hsl": {
    "h": 49.831,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.82968,
    "c": 0.12094,
    "h": 98
  },
  "luminance": 0.57484
}

Semantic roles & 50–950 ramp

primary
#DCC866
secondary
#4152A6
accent
#39CB1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC866

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

Preview Lab → · Contrast checker → · Palette generator →

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