#C5CC3D#C5CC3D

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

Color values

HEX#C5CC3D
RGBrgb(197, 204, 61)
HSLhsl(63, 58%, 52%)
HSVhsv(63, 70%, 80%)
CMYKcmyk(3.4%, 0%, 70.1%, 20%)
CIE-LABlab(79.27, -19.61, 66.51)
CIE-LCHlch(79.27, 69.34, 106.43°)
OKLaboklab(81.45% -0.0604 0.1479)
OKLCHoklch(81.45% 0.16 112.2)
XYZxyz(45.4625, 55.3940, 12.7112)
Luminance0.5539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC3D #443DCC
analogous
#CC8C3D #C5CC3D #7ECC3D
triadic
#C5CC3D #3DC5CC #CC3DC5
tetradic
#C5CC3D #3DCC8C #443DCC #CC3D7E
square
#C5CC3D #3DCC8C #443DCC #CC3D7E
split-complementary
#C5CC3D #3D7ECC #8C3DCC
monochromatic
#6D711E #9CA12A #C5CC3D #D3D96D #E2E59E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CC3D#FFFFFF#000000##000000
##C5CC3D1.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)
#DBC324
Deuteranopia (green-blind)
#DCC648
Tritanopia (blue-blind)
#D2C0B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cc3d;
/* rgb */ color: rgb(197, 204, 61);
/* oklch */ color: oklch(81.5% 0.160 112.2);
Tailwind
colors: {
  custom: {
    50: '#dadb7c',
    500: '#c5cc3d',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc3d;
$custom-light: #dadb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc3d",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 61
  },
  "hsl": {
    "h": 62.937,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81454,
    "c": 0.15976,
    "h": 112.2
  },
  "luminance": 0.55393
}

Semantic roles & 50–950 ramp

primary
#C5CC3D
secondary
#37337A
accent
#46E24E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5CC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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