#CCC86E#CCC86E

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

Color values

HEX#CCC86E
RGBrgb(204, 200, 110)
HSLhsl(57, 48%, 62%)
HSVhsv(57, 46%, 80%)
CMYKcmyk(0%, 2%, 46.1%, 20%)
CIE-LABlab(79.20, -11.14, 45.25)
CIE-LCHlch(79.20, 46.60, 103.83°)
OKLaboklab(81.68% -0.0318 0.1082)
OKLCHoklch(81.68% 0.113 106.4)
XYZxyz(48.3716, 55.2730, 22.8695)
Luminance0.5527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC86E #6E72CC
analogous
#CC996E #CCC86E #A1CC6E
triadic
#CCC86E #6ECCC8 #C86ECC
tetradic
#CCC86E #6ECC99 #6E72CC #CC6EA1
square
#CCC86E #6ECC99 #6E72CC #CC6EA1
split-complementary
#CCC86E #6EA1CC #996ECC
monochromatic
#8E8A32 #BBB642 #CCC86E #DCD99B #ECEAC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC86E#FFFFFF#000000##000000
##CCC86E1.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)
#D5C266
Deuteranopia (green-blind)
#D8C672
Tritanopia (blue-blind)
#D8BEB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc86e;
/* rgb */ color: rgb(204, 200, 110);
/* oklch */ color: oklch(81.7% 0.113 106.4);
Tailwind
colors: {
  custom: {
    50: '#ddd899',
    500: '#ccc86e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc86e;
$custom-light: #ddd899;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc86e",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 110
  },
  "hsl": {
    "h": 57.447,
    "s": 47.959,
    "l": 61.569
  },
  "oklch": {
    "l": 0.8168,
    "c": 0.1128,
    "h": 106.4
  },
  "luminance": 0.55272
}

Semantic roles & 50–950 ramp

primary
#CCC86E
secondary
#4A4D94
accent
#30BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC86E

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

Preview Lab → · Contrast checker → · Palette generator →

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