#CCC86D#CCC86D

#CCC86D is a light, moderate yellow. Relative luminance 0.552; OKLCH L 81.7% C 0.114 H 106.4°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#CCC86D
RGBrgb(204, 200, 109)
HSLhsl(57, 48%, 61%)
HSVhsv(57, 47%, 80%)
CMYKcmyk(0%, 2%, 46.6%, 20%)
CIE-LABlab(79.19, -11.24, 45.72)
CIE-LCHlch(79.19, 47.08, 103.81°)
OKLaboklab(81.67% -0.0322 0.1092)
OKLCHoklch(81.67% 0.114 106.4)
XYZxyz(48.3175, 55.2513, 22.5844)
Luminance0.5525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC86D #6D71CC
analogous
#CC996D #CCC86D #A1CC6D
triadic
#CCC86D #6DCCC8 #C86DCC
tetradic
#CCC86D #6DCC99 #6D71CC #CC6DA1
square
#CCC86D #6DCC99 #6D71CC #CC6DA1
split-complementary
#CCC86D #6DA1CC #996DCC
monochromatic
#8D8931 #BBB641 #CCC86D #DCD99A #ECEAC8

Accessibility & contrast

On white

1.74
#CCC86D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#CCC86D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC86D
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC86D#FFFFFF#000000##000000
##CCC86D1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C265
Deuteranopia (green-blind)
#D8C671
Tritanopia (blue-blind)
#D8BEB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc86d;
/* rgb */ color: rgb(204, 200, 109);
/* oklch */ color: oklch(81.7% 0.114 106.4);
Tailwind
colors: {
  custom: {
    50: '#ddd899',
    500: '#ccc86d',
    950: '#000000',
  },
}
SCSS
$custom: #ccc86d;
$custom-light: #ddd899;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc86d",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 109
  },
  "hsl": {
    "h": 57.474,
    "s": 48.223,
    "l": 61.373
  },
  "oklch": {
    "l": 0.81666,
    "c": 0.11385,
    "h": 106.4
  },
  "luminance": 0.5525
}

Semantic roles & 50–950 ramp

primary
#CCC86D
secondary
#494C94
accent
#30BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC86D

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

Preview Lab → · Contrast checker → · Palette generator →

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