#CCC150#CCC150

#CCC150 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.8% C 0.134 H 103.8°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#CCC150
RGBrgb(204, 193, 80)
HSLhsl(55, 55%, 56%)
HSVhsv(55, 61%, 80%)
CMYKcmyk(0%, 5.4%, 60.8%, 20%)
CIE-LABlab(77.02, -10.02, 56.74)
CIE-LCHlch(77.02, 57.62, 100.01°)
OKLaboklab(79.84% -0.0318 0.13)
OKLCHoklch(79.84% 0.134 103.8)
XYZxyz(45.4214, 51.5581, 15.1470)
Luminance0.5156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC150 #505BCC
analogous
#CC8350 #CCC150 #99CC50
triadic
#CCC150 #50CCC1 #C150CC
tetradic
#CCC150 #50CC83 #505BCC #CC5099
square
#CCC150 #50CC83 #505BCC #CC5099
split-complementary
#CCC150 #5099CC #8350CC
monochromatic
#7D7524 #ADA232 #CCC150 #DAD27F #E8E3AF

Accessibility & contrast

On white

1.86
#CCC150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#CCC150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC150
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC150#FFFFFF#000000##000000
##CCC1501.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB43
Deuteranopia (green-blind)
#D5C156
Tritanopia (blue-blind)
#DAB5A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc150;
/* rgb */ color: rgb(204, 193, 80);
/* oklch */ color: oklch(79.8% 0.134 103.8);
Tailwind
colors: {
  custom: {
    50: '#ded386',
    500: '#ccc150',
    950: '#000000',
  },
}
SCSS
$custom: #ccc150;
$custom-light: #ded386;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc150",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 80
  },
  "hsl": {
    "h": 54.677,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.79841,
    "c": 0.13383,
    "h": 103.8
  },
  "luminance": 0.51556
}

Semantic roles & 50–950 ramp

primary
#CCC150
secondary
#3B4285
accent
#57DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC150

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

Preview Lab → · Contrast checker → · Palette generator →

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