#C5CC34#C5CC34

#C5CC34 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#C5CC34
RGBrgb(197, 204, 52)
HSLhsl(63, 60%, 50%)
HSVhsv(63, 75%, 80%)
CMYKcmyk(3.4%, 0%, 74.5%, 20%)
CIE-LABlab(79.22, -20.03, 69.52)
CIE-LCHlch(79.22, 72.35, 106.07°)
OKLaboklab(81.4% -0.0624 0.1527)
OKLCHoklch(81.4% 0.165 112.2)
XYZxyz(45.2401, 55.3051, 11.5400)
Luminance0.5530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC34 #3B34CC
analogous
#CC8734 #C5CC34 #79CC34
triadic
#C5CC34 #34C5CC #CC34C5
tetradic
#C5CC34 #34CC87 #3B34CC #CC3479
square
#C5CC34 #34CC87 #3B34CC #CC3479
split-complementary
#C5CC34 #3479CC #8734CC
monochromatic
#676B1B #969C27 #C5CC34 #D3D865 #E1E596

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CC34#FFFFFF#000000##000000
##C5CC341.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)
#DCC20F
Deuteranopia (green-blind)
#DCC641
Tritanopia (blue-blind)
#D3BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cc34;
/* rgb */ color: rgb(197, 204, 52);
/* oklch */ color: oklch(81.4% 0.165 112.2);
Tailwind
colors: {
  custom: {
    50: '#dadb77',
    500: '#c5cc34',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc34;
$custom-light: #dadb77;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc34",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 52
  },
  "hsl": {
    "h": 62.763,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.81397,
    "c": 0.16497,
    "h": 112.2
  },
  "luminance": 0.55304
}

Semantic roles & 50–950 ramp

primary
#C5CC34
secondary
#333074
accent
#45E34C
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5CC34

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

Preview Lab → · Contrast checker → · Palette generator →

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