#C6CC33#C6CC33

#C6CC33 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.5% C 0.165 H 111.9°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#C6CC33
RGBrgb(198, 204, 51)
HSLhsl(62, 60%, 50%)
HSVhsv(62, 75%, 80%)
CMYKcmyk(2.9%, 0%, 75%, 20%)
CIE-LABlab(79.29, -19.65, 69.93)
CIE-LCHlch(79.29, 72.64, 105.69°)
OKLaboklab(81.47% -0.0615 0.1534)
OKLCHoklch(81.47% 0.165 111.9)
XYZxyz(45.4806, 55.4317, 11.4349)
Luminance0.5543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CC33 #3933CC
analogous
#CC8633 #C6CC33 #79CC33
triadic
#C6CC33 #33C6CC #CC33C6
tetradic
#C6CC33 #33CC86 #3933CC #CC3379
square
#C6CC33 #33CC86 #3933CC #CC3379
split-complementary
#C6CC33 #3379CC #8633CC
monochromatic
#676A1B #969B27 #C6CC33 #D4D864 #E1E495

Accessibility & contrast

On white

1.74
#C6CC33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#C6CC33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CC33
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CC33#FFFFFF#000000##000000
##C6CC331.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC30C
Deuteranopia (green-blind)
#DDC640
Tritanopia (blue-blind)
#D4BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c6cc33;
/* rgb */ color: rgb(198, 204, 51);
/* oklch */ color: oklch(81.5% 0.165 111.9);
Tailwind
colors: {
  custom: {
    50: '#dbdb77',
    500: '#c6cc33',
    950: '#000000',
  },
}
SCSS
$custom: #c6cc33;
$custom-light: #dbdb77;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cc33",
  "rgb": {
    "r": 198,
    "g": 204,
    "b": 51
  },
  "hsl": {
    "h": 62.353,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.81472,
    "c": 0.16523,
    "h": 111.9
  },
  "luminance": 0.55431
}

Semantic roles & 50–950 ramp

primary
#C6CC33
secondary
#322F74
accent
#45E34B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C6CC33

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

Preview Lab → · Contrast checker → · Palette generator →

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