#CCC670#CCC670

#CCC670 is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.109 H 105.0°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#CCC670
RGBrgb(204, 198, 112)
HSLhsl(56, 47%, 62%)
HSVhsv(56, 45%, 80%)
CMYKcmyk(0%, 2.9%, 45.1%, 20%)
CIE-LABlab(78.69, -9.93, 43.64)
CIE-LCHlch(78.69, 44.76, 102.81°)
OKLaboklab(81.29% -0.0282 0.1048)
OKLCHoklch(81.29% 0.109 105)
XYZxyz(48.0216, 54.3967, 23.2961)
Luminance0.5440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC670 #7076CC
analogous
#CC9870 #CCC670 #A4CC70
triadic
#CCC670 #70CCC6 #C670CC
tetradic
#CCC670 #70CC98 #7076CC #CC70A4
square
#CCC670 #70CC98 #7076CC #CC70A4
split-complementary
#CCC670 #70A4CC #9870CC
monochromatic
#8F8933 #BCB443 #CCC670 #DCD89D #ECEACA

Accessibility & contrast

On white

1.77
#CCC670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#CCC670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC670
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC670#FFFFFF#000000##000000
##CCC6701.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C069
Deuteranopia (green-blind)
#D6C574
Tritanopia (blue-blind)
#D8BCB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc670;
/* rgb */ color: rgb(204, 198, 112);
/* oklch */ color: oklch(81.3% 0.109 105.0);
Tailwind
colors: {
  custom: {
    50: '#ddd79b',
    500: '#ccc670',
    950: '#000000',
  },
}
SCSS
$custom: #ccc670;
$custom-light: #ddd79b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc670",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 112
  },
  "hsl": {
    "h": 56.087,
    "s": 47.423,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81286,
    "c": 0.10852,
    "h": 105
  },
  "luminance": 0.54395
}

Semantic roles & 50–950 ramp

primary
#CCC670
secondary
#4B5095
accent
#34BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC670

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

Preview Lab → · Contrast checker → · Palette generator →

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