#C5CC3E#C5CC3E

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

Color values

HEX#C5CC3E
RGBrgb(197, 204, 62)
HSLhsl(63, 58%, 52%)
HSVhsv(63, 70%, 80%)
CMYKcmyk(3.4%, 0%, 69.6%, 20%)
CIE-LABlab(79.27, -19.56, 66.15)
CIE-LCHlch(79.27, 68.98, 106.47°)
OKLaboklab(81.46% -0.0602 0.1473)
OKLCHoklch(81.46% 0.159 112.2)
XYZxyz(45.4897, 55.4049, 12.8544)
Luminance0.5540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC3E #453ECC
analogous
#CC8C3E #C5CC3E #7ECC3E
triadic
#C5CC3E #3EC5CC #CC3EC5
tetradic
#C5CC3E #3ECC8C #453ECC #CC3E7E
square
#C5CC3E #3ECC8C #453ECC #CC3E7E
split-complementary
#C5CC3E #3E7ECC #8C3ECC
monochromatic
#6D721E #9CA22B #C5CC3E #D4D96E #E2E69F

Accessibility & contrast

On white

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

On black

12.08
#C5CC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC3E
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC3E#FFFFFF#000000##000000
##C5CC3E1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC326
Deuteranopia (green-blind)
#DCC649
Tritanopia (blue-blind)
#D2C0B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cc3e;
/* rgb */ color: rgb(197, 204, 62);
/* oklch */ color: oklch(81.5% 0.159 112.2);
Tailwind
colors: {
  custom: {
    50: '#dadb7c',
    500: '#c5cc3e',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc3e;
$custom-light: #dadb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc3e",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 62
  },
  "hsl": {
    "h": 62.958,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81461,
    "c": 0.15913,
    "h": 112.2
  },
  "luminance": 0.55404
}

Semantic roles & 50–950 ramp

primary
#C5CC3E
secondary
#37347B
accent
#46E14E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5CC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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