#C5CC3B#C5CC3B

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

Color values

HEX#C5CC3B
RGBrgb(197, 204, 59)
HSLhsl(63, 59%, 52%)
HSVhsv(63, 71%, 80%)
CMYKcmyk(3.4%, 0%, 71.1%, 20%)
CIE-LABlab(79.26, -19.71, 67.21)
CIE-LCHlch(79.26, 70.04, 106.34°)
OKLaboklab(81.44% -0.0609 0.149)
OKLCHoklch(81.44% 0.161 112.2)
XYZxyz(45.4097, 55.3729, 12.4328)
Luminance0.5537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC3B #423BCC
analogous
#CC8B3B #C5CC3B #7CCC3B
triadic
#C5CC3B #3BC5CC #CC3BC5
tetradic
#C5CC3B #3BCC8B #423BCC #CC3B7C
square
#C5CC3B #3BCC8B #423BCC #CC3B7C
split-complementary
#C5CC3B #3B7CCC #8B3BCC
monochromatic
#6C701D #9AA02A #C5CC3B #D3D96C #E2E59C

Accessibility & contrast

On white

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

On black

12.07
#C5CC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC3B
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC3B#FFFFFF#000000##000000
##C5CC3B1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5cc3b;
/* rgb */ color: rgb(197, 204, 59);
/* oklch */ color: oklch(81.4% 0.161 112.2);
Tailwind
colors: {
  custom: {
    50: '#dadb7b',
    500: '#c5cc3b',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc3b;
$custom-light: #dadb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc3b",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 59
  },
  "hsl": {
    "h": 62.897,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.8144,
    "c": 0.16099,
    "h": 112.2
  },
  "luminance": 0.55372
}

Semantic roles & 50–950 ramp

primary
#C5CC3B
secondary
#363279
accent
#46E24D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5CC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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