#C5CD3D#C5CD3D

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

Color values

HEX#C5CD3D
RGBrgb(197, 205, 61)
HSLhsl(63, 59%, 52%)
HSVhsv(63, 70%, 80%)
CMYKcmyk(3.9%, 0%, 70.2%, 19.6%)
CIE-LABlab(79.54, -20.10, 66.77)
CIE-LCHlch(79.54, 69.73, 106.75°)
OKLaboklab(81.67% -0.0618 0.1484)
OKLCHoklch(81.67% 0.161 112.6)
XYZxyz(45.7010, 55.8709, 12.7907)
Luminance0.5587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD3D #453DCD
analogous
#CD8D3D #C5CD3D #7DCD3D
triadic
#C5CD3D #3DC5CD #CD3DC5
tetradic
#C5CD3D #3DCD8D #453DCD #CD3D7D
square
#C5CD3D #3DCD8D #453DCD #CD3D7D
split-complementary
#C5CD3D #3D7DCD #8D3DCD
monochromatic
#6D721D #9CA32A #C5CD3D #D4DA6E #E2E69E

Accessibility & contrast

On white

1.72
#C5CD3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CD3D#FFFFFF#000000##000000
##C5CD3D1.001.7212.1712.17
#FFFFFF1.721.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5cd3d;
/* rgb */ color: rgb(197, 205, 61);
/* oklch */ color: oklch(81.7% 0.161 112.6);
Tailwind
colors: {
  custom: {
    50: '#dadc7c',
    500: '#c5cd3d',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd3d;
$custom-light: #dadc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd3d",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 61
  },
  "hsl": {
    "h": 63.333,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81672,
    "c": 0.1608,
    "h": 112.6
  },
  "luminance": 0.5587
}

Semantic roles & 50–950 ramp

primary
#C5CD3D
secondary
#37337B
accent
#46E24E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5CD3D

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

Preview Lab → · Contrast checker → · Palette generator →

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