#DCC266#DCC266

#DCC266 is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.7% C 0.116 H 93.9°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#DCC266
RGBrgb(220, 194, 102)
HSLhsl(47, 63%, 63%)
HSVhsv(47, 54%, 86%)
CMYKcmyk(0%, 11.8%, 53.6%, 13.7%)
CIE-LABlab(78.90, -2.22, 49.11)
CIE-LCHlch(78.90, 49.16, 92.58°)
OKLaboklab(81.74% -0.0079 0.1158)
OKLCHoklch(81.74% 0.116 93.9)
XYZxyz(51.2072, 54.7608, 20.4404)
Luminance0.5476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC266 #6680DC
analogous
#DC8766 #DCC266 #BBDC66
triadic
#DCC266 #66DCC2 #C266DC
tetradic
#DCC266 #66DC87 #6680DC #DC66BB
square
#DCC266 #66DC87 #6680DC #DC66BB
split-complementary
#DCC266 #66BBDC #8766DC
monochromatic
#A28725 #D1AE34 #DCC266 #E7D698 #F3EACA

Accessibility & contrast

On white

1.76
#DCC266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#DCC266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC266
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC266#FFFFFF#000000##000000
##DCC2661.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF5E
Deuteranopia (green-blind)
#D9C76A
Tritanopia (blue-blind)
#EBB6AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc266;
/* rgb */ color: rgb(220, 194, 102);
/* oklch */ color: oklch(81.7% 0.116 93.9);
Tailwind
colors: {
  custom: {
    50: '#e9d494',
    500: '#dcc266',
    950: '#000000',
  },
}
SCSS
$custom: #dcc266;
$custom-light: #e9d494;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc266",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 102
  },
  "hsl": {
    "h": 46.78,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.81743,
    "c": 0.11605,
    "h": 93.9
  },
  "luminance": 0.54759
}

Semantic roles & 50–950 ramp

primary
#DCC266
secondary
#4157A6
accent
#42CB1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC266

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

Preview Lab → · Contrast checker → · Palette generator →

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