#CCC67F#CCC67F

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

Color values

HEX#CCC67F
RGBrgb(204, 198, 127)
HSLhsl(55, 43%, 65%)
HSVhsv(55, 38%, 80%)
CMYKcmyk(0%, 2.9%, 37.7%, 20%)
CIE-LABlab(78.90, -8.34, 36.34)
CIE-LCHlch(78.90, 37.29, 102.93°)
OKLaboklab(81.52% -0.0224 0.0891)
OKLCHoklch(81.52% 0.092 104.1)
XYZxyz(48.9274, 54.7590, 28.0667)
Luminance0.5476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC67F #7F85CC
analogous
#CCA07F #CCC67F #ABCC7F
triadic
#CCC67F #7FCCC6 #C67FCC
tetradic
#CCC67F #7FCCA0 #7F85CC #CC7FAB
square
#CCC67F #7FCCA0 #7F85CC #CC7FAB
split-complementary
#CCC67F #7FABCC #A07FCC
monochromatic
#958E3B #BBB353 #CCC67F #DDD9AB #EFEDD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC67F#FFFFFF#000000##000000
##CCC67F1.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)
#D2C17A
Deuteranopia (green-blind)
#D4C582
Tritanopia (blue-blind)
#D7BDB4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc67f;
/* rgb */ color: rgb(204, 198, 127);
/* oklch */ color: oklch(81.5% 0.092 104.1);
Tailwind
colors: {
  custom: {
    50: '#ddd7a5',
    500: '#ccc67f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc67f;
$custom-light: #ddd7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc67f",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 127
  },
  "hsl": {
    "h": 55.325,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.81521,
    "c": 0.09188,
    "h": 104.1
  },
  "luminance": 0.54758
}

Semantic roles & 50–950 ramp

primary
#CCC67F
secondary
#54599C
accent
#3AB62F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC67F

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

Preview Lab → · Contrast checker → · Palette generator →

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