#C5CD3A#C5CD3A

#C5CD3A is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.7% C 0.163 H 112.6°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#C5CD3A
RGBrgb(197, 205, 58)
HSLhsl(63, 60%, 52%)
HSVhsv(63, 72%, 80%)
CMYKcmyk(3.9%, 0%, 71.7%, 19.6%)
CIE-LABlab(79.52, -20.25, 67.81)
CIE-LCHlch(79.52, 70.77, 106.63°)
OKLaboklab(81.65% -0.0625 0.1501)
OKLCHoklch(81.65% 0.163 112.6)
XYZxyz(45.6224, 55.8395, 12.3770)
Luminance0.5584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD3A #423ACD
analogous
#CD8C3A #C5CD3A #7CCD3A
triadic
#C5CD3A #3AC5CD #CD3AC5
tetradic
#C5CD3A #3ACD8C #423ACD #CD3A7C
square
#C5CD3A #3ACD8C #423ACD #CD3A7C
split-complementary
#C5CD3A #3A7CCD #8C3ACD
monochromatic
#6C701C #9AA129 #C5CD3A #D3D96B #E2E69C

Accessibility & contrast

On white

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

On black

12.17
#C5CD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CD3A
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CD3A#FFFFFF#000000##000000
##C5CD3A1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC31E
Deuteranopia (green-blind)
#DDC746
Tritanopia (blue-blind)
#D2C1B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cd3a;
/* rgb */ color: rgb(197, 205, 58);
/* oklch */ color: oklch(81.7% 0.163 112.6);
Tailwind
colors: {
  custom: {
    50: '#dadc7a',
    500: '#c5cd3a',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd3a;
$custom-light: #dadc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd3a",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 58
  },
  "hsl": {
    "h": 63.265,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81652,
    "c": 0.16261,
    "h": 112.6
  },
  "luminance": 0.55838
}

Semantic roles & 50–950 ramp

primary
#C5CD3A
secondary
#363279
accent
#45E34E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5CD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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