#C5CC33#C5CC33

#C5CC33 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.4% C 0.165 H 112.2°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#C5CC33
RGBrgb(197, 204, 51)
HSLhsl(63, 60%, 50%)
HSVhsv(63, 75%, 80%)
CMYKcmyk(3.4%, 0%, 75%, 20%)
CIE-LABlab(79.21, -20.07, 69.83)
CIE-LCHlch(79.21, 72.66, 106.03°)
OKLaboklab(81.39% -0.0626 0.1532)
OKLCHoklch(81.39% 0.165 112.2)
XYZxyz(45.2179, 55.2962, 11.4226)
Luminance0.5530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC33 #3A33CC
analogous
#CC8633 #C5CC33 #79CC33
triadic
#C5CC33 #33C5CC #CC33C5
tetradic
#C5CC33 #33CC86 #3A33CC #CC3379
square
#C5CC33 #33CC86 #3A33CC #CC3379
split-complementary
#C5CC33 #3379CC #8633CC
monochromatic
#666A1B #969B27 #C5CC33 #D3D864 #E1E495

Accessibility & contrast

On white

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

On black

12.06
#C5CC33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC33
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC33#FFFFFF#000000##000000
##C5CC331.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC20C
Deuteranopia (green-blind)
#DCC640
Tritanopia (blue-blind)
#D3BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cc33;
/* rgb */ color: rgb(197, 204, 51);
/* oklch */ color: oklch(81.4% 0.165 112.2);
Tailwind
colors: {
  custom: {
    50: '#dadb77',
    500: '#c5cc33',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc33;
$custom-light: #dadb77;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc33",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 51
  },
  "hsl": {
    "h": 62.745,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.81391,
    "c": 0.16549,
    "h": 112.2
  },
  "luminance": 0.55295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5CC33

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

Preview Lab → · Contrast checker → · Palette generator →

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