#C5CD2A#C5CD2A

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

Color values

HEX#C5CD2A
RGBrgb(197, 205, 42)
HSLhsl(63, 66%, 48%)
HSVhsv(63, 80%, 80%)
CMYKcmyk(3.9%, 0%, 79.5%, 19.6%)
CIE-LABlab(79.44, -20.90, 72.68)
CIE-LCHlch(79.44, 75.62, 106.04°)
OKLaboklab(81.56% -0.0656 0.1577)
OKLCHoklch(81.56% 0.171 112.6)
XYZxyz(45.2767, 55.7012, 10.5564)
Luminance0.5570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD2A #322ACD
analogous
#CD832A #C5CD2A #73CD2A
triadic
#C5CD2A #2AC5CD #CD2AC5
tetradic
#C5CD2A #2ACD83 #322ACD #CD2A73
square
#C5CD2A #2ACD83 #322ACD #CD2A73
split-complementary
#C5CD2A #2A73CD #832ACD
monochromatic
#636715 #949A20 #C5CD2A #D6DD58 #E3E78A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CD2A#FFFFFF#000000##000000
##C5CD2A1.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)
#DDC73A
Tritanopia (blue-blind)
#D3C0B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cd2a;
/* rgb */ color: rgb(197, 205, 42);
/* oklch */ color: oklch(81.6% 0.171 112.6);
Tailwind
colors: {
  custom: {
    50: '#dbdc73',
    500: '#c5cd2a',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd2a;
$custom-light: #dbdc73;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd2a",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 42
  },
  "hsl": {
    "h": 62.945,
    "s": 65.992,
    "l": 48.431
  },
  "oklch": {
    "l": 0.81564,
    "c": 0.17079,
    "h": 112.6
  },
  "luminance": 0.557
}

Semantic roles & 50–950 ramp

primary
#C5CD2A
secondary
#2D2A71
accent
#3FE947
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C5CD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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