#C5CD2C#C5CD2C

#C5CD2C is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.6% C 0.170 H 112.6°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#C5CD2C
RGBrgb(197, 205, 44)
HSLhsl(63, 65%, 49%)
HSVhsv(63, 79%, 80%)
CMYKcmyk(3.9%, 0%, 78.5%, 19.6%)
CIE-LABlab(79.45, -20.83, 72.14)
CIE-LCHlch(79.45, 75.08, 106.11°)
OKLaboklab(81.57% -0.0653 0.1569)
OKLCHoklch(81.57% 0.17 112.6)
XYZxyz(45.3134, 55.7159, 10.7496)
Luminance0.5572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD2C #342CCD
analogous
#CD852C #C5CD2C #75CD2C
triadic
#C5CD2C #2CC5CD #CD2CC5
tetradic
#C5CD2C #2CCD85 #342CCD #CD2C75
square
#C5CD2C #2CCD85 #342CCD #CD2C75
split-complementary
#C5CD2C #2C75CD #852CCD
monochromatic
#646816 #959B21 #C5CD2C #D5DC5B #E2E78D

Accessibility & contrast

On white

1.73
#C5CD2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#C5CD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CD2C
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CD2C#FFFFFF#000000##000000
##C5CD2C1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#DDC73B
Tritanopia (blue-blind)
#D3C0B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cd2c;
/* rgb */ color: rgb(197, 205, 44);
/* oklch */ color: oklch(81.6% 0.170 112.6);
Tailwind
colors: {
  custom: {
    50: '#dbdc74',
    500: '#c5cd2c',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd2c;
$custom-light: #dbdc74;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd2c",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 44
  },
  "hsl": {
    "h": 62.981,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.81573,
    "c": 0.1699,
    "h": 112.6
  },
  "luminance": 0.55715
}

Semantic roles & 50–950 ramp

primary
#C5CD2C
secondary
#2F2B72
accent
#40E848
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C5CD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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