#DCC766#DCC766

#DCC766 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.8% C 0.120 H 97.3°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#DCC766
RGBrgb(220, 199, 102)
HSLhsl(49, 63%, 63%)
HSVhsv(49, 54%, 86%)
CMYKcmyk(0%, 9.5%, 53.6%, 13.7%)
CIE-LABlab(80.19, -4.80, 50.63)
CIE-LCHlch(80.19, 50.86, 95.42°)
OKLaboklab(82.76% -0.0154 0.1191)
OKLCHoklch(82.76% 0.12 97.3)
XYZxyz(52.3387, 57.0240, 20.8176)
Luminance0.5702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC766 #667BDC
analogous
#DC8C66 #DCC766 #B6DC66
triadic
#DCC766 #66DCC7 #C766DC
tetradic
#DCC766 #66DC8C #667BDC #DC66B6
square
#DCC766 #66DC8C #667BDC #DC66B6
split-complementary
#DCC766 #66B6DC #8C66DC
monochromatic
#A28C25 #D1B534 #DCC766 #E7D998 #F3EBCA

Accessibility & contrast

On white

1.69
#DCC766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#DCC766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC766
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC766#FFFFFF#000000##000000
##DCC7661.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C35D
Deuteranopia (green-blind)
#DDCA6A
Tritanopia (blue-blind)
#EBBBB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dcc766;
/* rgb */ color: rgb(220, 199, 102);
/* oklch */ color: oklch(82.8% 0.120 97.3);
Tailwind
colors: {
  custom: {
    50: '#e9d794',
    500: '#dcc766',
    950: '#000000',
  },
}
SCSS
$custom: #dcc766;
$custom-light: #e9d794;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc766",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 102
  },
  "hsl": {
    "h": 49.322,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.82763,
    "c": 0.12009,
    "h": 97.3
  },
  "luminance": 0.57022
}

Semantic roles & 50–950 ramp

primary
#DCC766
secondary
#4153A6
accent
#3ACB1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC766

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

Preview Lab → · Contrast checker → · Palette generator →

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