#CCC146#CCC146

#CCC146 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.7% C 0.142 H 104.2°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#CCC146
RGBrgb(204, 193, 70)
HSLhsl(55, 57%, 54%)
HSVhsv(55, 66%, 80%)
CMYKcmyk(0%, 5.4%, 65.7%, 20%)
CIE-LABlab(76.93, -10.65, 60.89)
CIE-LCHlch(76.93, 61.81, 99.92°)
OKLaboklab(79.75% -0.0347 0.1373)
OKLCHoklch(79.75% 0.142 104.2)
XYZxyz(45.0790, 51.4212, 13.3439)
Luminance0.5142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC146 #4651CC
analogous
#CC7E46 #CCC146 #94CC46
triadic
#CCC146 #46CCC1 #C146CC
tetradic
#CCC146 #46CC7E #4651CC #CC4694
square
#CCC146 #46CC7E #4651CC #CC4694
split-complementary
#CCC146 #4694CC #7E46CC
monochromatic
#777021 #A79D2E #CCC146 #D9D176 #E6E1A6

Accessibility & contrast

On white

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

On black

11.28
#CCC146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC146
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC146#FFFFFF#000000##000000
##CCC1461.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB36
Deuteranopia (green-blind)
#D5C14D
Tritanopia (blue-blind)
#DBB4A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc146;
/* rgb */ color: rgb(204, 193, 70);
/* oklch */ color: oklch(79.7% 0.142 104.2);
Tailwind
colors: {
  custom: {
    50: '#dfd380',
    500: '#ccc146',
    950: '#000000',
  },
}
SCSS
$custom: #ccc146;
$custom-light: #dfd380;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc146",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 70
  },
  "hsl": {
    "h": 55.075,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79749,
    "c": 0.14162,
    "h": 104.2
  },
  "luminance": 0.51419
}

Semantic roles & 50–950 ramp

primary
#CCC146
secondary
#373D7F
accent
#54E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC146

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

Preview Lab → · Contrast checker → · Palette generator →

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