#CCC67E#CCC67E

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

Color values

HEX#CCC67E
RGBrgb(204, 198, 126)
HSLhsl(55, 43%, 65%)
HSVhsv(55, 38%, 80%)
CMYKcmyk(0%, 2.9%, 38.2%, 20%)
CIE-LABlab(78.89, -8.45, 36.83)
CIE-LCHlch(78.89, 37.79, 102.93°)
OKLaboklab(81.5% -0.0227 0.0902)
OKLCHoklch(81.5% 0.093 104.2)
XYZxyz(48.8626, 54.7331, 27.7252)
Luminance0.5473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC67E #7E84CC
analogous
#CC9F7E #CCC67E #ABCC7E
triadic
#CCC67E #7ECCC6 #C67ECC
tetradic
#CCC67E #7ECC9F #7E84CC #CC7EAB
square
#CCC67E #7ECC9F #7E84CC #CC7EAB
split-complementary
#CCC67E #7EABCC #9F7ECC
monochromatic
#958E3B #BBB352 #CCC67E #DDD9AA #EFEDD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC67E#FFFFFF#000000##000000
##CCC67E1.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)
#D2C179
Deuteranopia (green-blind)
#D4C581
Tritanopia (blue-blind)
#D7BDB4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc67e;
/* rgb */ color: rgb(204, 198, 126);
/* oklch */ color: oklch(81.5% 0.093 104.2);
Tailwind
colors: {
  custom: {
    50: '#ddd7a4',
    500: '#ccc67e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc67e;
$custom-light: #ddd7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc67e",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 126
  },
  "hsl": {
    "h": 55.385,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.81504,
    "c": 0.09303,
    "h": 104.2
  },
  "luminance": 0.54732
}

Semantic roles & 50–950 ramp

primary
#CCC67E
secondary
#53599B
accent
#39B62F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC67E

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

Preview Lab → · Contrast checker → · Palette generator →

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