#CCC97E#CCC97E

#CCC97E is a very light, moderate yellow. Relative luminance 0.561; OKLCH L 82.1% C 0.096 H 106.4°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#CCC97E
RGBrgb(204, 201, 126)
HSLhsl(58, 43%, 65%)
HSVhsv(58, 38%, 80%)
CMYKcmyk(0%, 1.5%, 38.2%, 20%)
CIE-LABlab(79.68, -9.99, 37.85)
CIE-LCHlch(79.68, 39.15, 104.79°)
OKLaboklab(82.13% -0.0272 0.0925)
OKLCHoklch(82.13% 0.096 106.4)
XYZxyz(49.5551, 56.1181, 27.9560)
Luminance0.5612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC97E #7E81CC
analogous
#CCA27E #CCC97E #A8CC7E
triadic
#CCC97E #7ECCC9 #C97ECC
tetradic
#CCC97E #7ECCA2 #7E81CC #CC7EA8
square
#CCC97E #7ECCA2 #7E81CC #CC7EA8
split-complementary
#CCC97E #7EA8CC #A27ECC
monochromatic
#95913B #BBB752 #CCC97E #DDDBAA #EFEED6

Accessibility & contrast

On white

1.72
#CCC97E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#CCC97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC97E
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC97E#FFFFFF#000000##000000
##CCC97E1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C478
Deuteranopia (green-blind)
#D7C781
Tritanopia (blue-blind)
#D7C0B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccc97e;
/* rgb */ color: rgb(204, 201, 126);
/* oklch */ color: oklch(82.1% 0.096 106.4);
Tailwind
colors: {
  custom: {
    50: '#ddd9a4',
    500: '#ccc97e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc97e;
$custom-light: #ddd9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc97e",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 126
  },
  "hsl": {
    "h": 57.692,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82134,
    "c": 0.09645,
    "h": 106.4
  },
  "luminance": 0.56117
}

Semantic roles & 50–950 ramp

primary
#CCC97E
secondary
#53569B
accent
#34B62F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC97E

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

Preview Lab → · Contrast checker → · Palette generator →

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