#CCC46F#CCC46F

#CCC46F is a light, moderate yellow. Relative luminance 0.535; OKLCH L 80.9% C 0.107 H 103.8°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#CCC46F
RGBrgb(204, 196, 111)
HSLhsl(55, 48%, 62%)
HSVhsv(55, 46%, 80%)
CMYKcmyk(0%, 3.9%, 45.6%, 20%)
CIE-LABlab(78.15, -9.00, 43.47)
CIE-LCHlch(78.15, 44.39, 101.70°)
OKLaboklab(80.85% -0.0256 0.1043)
OKLCHoklch(80.85% 0.107 103.8)
XYZxyz(47.5121, 53.4663, 22.8531)
Luminance0.5346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC46F #6F77CC
analogous
#CC966F #CCC46F #A6CC6F
triadic
#CCC46F #6FCCC4 #C46FCC
tetradic
#CCC46F #6FCC96 #6F77CC #CC6FA6
square
#CCC46F #6FCC96 #6F77CC #CC6FA6
split-complementary
#CCC46F #6FA6CC #966FCC
monochromatic
#8E8632 #BBB142 #CCC46F #DCD79C #ECE9C9

Accessibility & contrast

On white

1.80
#CCC46F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#CCC46F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC46F
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC46F#FFFFFF#000000##000000
##CCC46F1.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF68
Deuteranopia (green-blind)
#D4C373
Tritanopia (blue-blind)
#D8BAB0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc46f;
/* rgb */ color: rgb(204, 196, 111);
/* oklch */ color: oklch(80.9% 0.107 103.8);
Tailwind
colors: {
  custom: {
    50: '#ddd59a',
    500: '#ccc46f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc46f;
$custom-light: #ddd59a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc46f",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 111
  },
  "hsl": {
    "h": 54.839,
    "s": 47.692,
    "l": 61.765
  },
  "oklch": {
    "l": 0.80851,
    "c": 0.10743,
    "h": 103.8
  },
  "luminance": 0.53465
}

Semantic roles & 50–950 ramp

primary
#CCC46F
secondary
#4A5195
accent
#37BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC46F

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

Preview Lab → · Contrast checker → · Palette generator →

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