#CCC291#CCC291

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

Color values

HEX#CCC291
RGBrgb(204, 194, 145)
HSLhsl(50, 37%, 68%)
HSVhsv(50, 29%, 80%)
CMYKcmyk(0%, 4.9%, 28.9%, 20%)
CIE-LABlab(78.15, -4.07, 25.97)
CIE-LCHlch(78.15, 26.29, 98.90°)
OKLaboklab(81.02% -0.0091 0.0654)
OKLCHoklch(81.02% 0.066 97.9)
XYZxyz(49.3048, 53.4664, 34.5053)
Luminance0.5346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC291 #919BCC
analogous
#CCA491 #CCC291 #B8CC91
triadic
#CCC291 #91CCC2 #C291CC
tetradic
#CCC291 #91CCA4 #919BCC #CC91B8
square
#CCC291 #91CCA4 #919BCC #CC91B8
split-complementary
#CCC291 #91B8CC #A491CC
monochromatic
#9B8D48 #B9AB67 #CCC291 #DFD9BB #F3F0E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC291#FFFFFF#000000##000000
##CCC2911.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)
#CCBF8E
Deuteranopia (green-blind)
#CFC393
Tritanopia (blue-blind)
#D5BBB5
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc291;
/* rgb */ color: rgb(204, 194, 145);
/* oklch */ color: oklch(81.0% 0.066 97.9);
Tailwind
colors: {
  custom: {
    50: '#dcd4b1',
    500: '#ccc291',
    950: '#000000',
  },
}
SCSS
$custom: #ccc291;
$custom-light: #dcd4b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc291",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 145
  },
  "hsl": {
    "h": 49.831,
    "s": 36.646,
    "l": 68.431
  },
  "oklch": {
    "l": 0.81023,
    "c": 0.06598,
    "h": 97.9
  },
  "luminance": 0.53465
}

Semantic roles & 50–950 ramp

primary
#CCC291
secondary
#606BA1
accent
#4BB036
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCC291

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

Preview Lab → · Contrast checker → · Palette generator →

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