#C6CC45#C6CC45

#C6CC45 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.6% C 0.154 H 111.8°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#C6CC45
RGBrgb(198, 204, 69)
HSLhsl(63, 57%, 54%)
HSVhsv(63, 66%, 80%)
CMYKcmyk(2.9%, 0%, 66.2%, 20%)
CIE-LABlab(79.40, -18.76, 63.67)
CIE-LCHlch(79.40, 66.37, 106.42°)
OKLaboklab(81.59% -0.0573 0.1432)
OKLCHoklch(81.59% 0.154 111.8)
XYZxyz(45.9571, 55.6223, 13.9443)
Luminance0.5562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CC45 #4B45CC
analogous
#CC8E45 #C6CC45 #82CC45
triadic
#C6CC45 #45C6CC #CC45C6
tetradic
#C6CC45 #45CC8E #4B45CC #CC4582
square
#C6CC45 #45CC8E #4B45CC #CC4582
split-complementary
#C6CC45 #4582CC #8E45CC
monochromatic
#727620 #A1A62E #C6CC45 #D5D975 #E3E6A5

Accessibility & contrast

On white

1.73
#C6CC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#C6CC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CC45
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CC45#FFFFFF#000000##000000
##C6CC451.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC332
Deuteranopia (green-blind)
#DCC64E
Tritanopia (blue-blind)
#D3C0B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c6cc45;
/* rgb */ color: rgb(198, 204, 69);
/* oklch */ color: oklch(81.6% 0.154 111.8);
Tailwind
colors: {
  custom: {
    50: '#dadb80',
    500: '#c6cc45',
    950: '#000000',
  },
}
SCSS
$custom: #c6cc45;
$custom-light: #dadb80;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cc45",
  "rgb": {
    "r": 198,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 62.667,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81594,
    "c": 0.15423,
    "h": 111.8
  },
  "luminance": 0.55621
}

Semantic roles & 50–950 ramp

primary
#C6CC45
secondary
#3A367F
accent
#48E04E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C6CC45

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

Preview Lab → · Contrast checker → · Palette generator →

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