#C8CC33#C8CC33

#C8CC33 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.6% C 0.165 H 111.1°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#C8CC33
RGBrgb(200, 204, 51)
HSLhsl(62, 60%, 50%)
HSVhsv(62, 75%, 80%)
CMYKcmyk(2%, 0%, 75%, 20%)
CIE-LABlab(79.45, -18.81, 70.13)
CIE-LCHlch(79.45, 72.61, 105.01°)
OKLaboklab(81.64% -0.0593 0.1537)
OKLCHoklch(81.64% 0.165 111.1)
XYZxyz(46.0114, 55.7053, 11.4598)
Luminance0.5570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC33 #3733CC
analogous
#CC8433 #C8CC33 #7BCC33
triadic
#C8CC33 #33C8CC #CC33C8
tetradic
#C8CC33 #33CC84 #3733CC #CC337B
square
#C8CC33 #33CC84 #3733CC #CC337B
split-complementary
#C8CC33 #337BCC #8433CC
monochromatic
#686A1B #989B27 #C8CC33 #D5D864 #E2E495

Accessibility & contrast

On white

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

On black

12.14
#C8CC33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC33
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC33#FFFFFF#000000##000000
##C8CC331.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC30C
Deuteranopia (green-blind)
#DDC740
Tritanopia (blue-blind)
#D6BFAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cc33;
/* rgb */ color: rgb(200, 204, 51);
/* oklch */ color: oklch(81.6% 0.165 111.1);
Tailwind
colors: {
  custom: {
    50: '#dddb77',
    500: '#c8cc33',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc33;
$custom-light: #dddb77;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc33",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 51
  },
  "hsl": {
    "h": 61.569,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.81636,
    "c": 0.16475,
    "h": 111.1
  },
  "luminance": 0.55704
}

Semantic roles & 50–950 ramp

primary
#C8CC33
secondary
#312F74
accent
#45E349
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8CC33

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

Preview Lab → · Contrast checker → · Palette generator →

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