#C5CD3F#C5CD3F

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

Color values

HEX#C5CD3F
RGBrgb(197, 205, 63)
HSLhsl(63, 59%, 53%)
HSVhsv(63, 69%, 80%)
CMYKcmyk(3.9%, 0%, 69.3%, 19.6%)
CIE-LABlab(79.55, -20.00, 66.06)
CIE-LCHlch(79.55, 69.02, 106.84°)
OKLaboklab(81.69% -0.0613 0.1473)
OKLCHoklch(81.69% 0.16 112.6)
XYZxyz(45.7559, 55.8929, 13.0797)
Luminance0.5589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD3F #473FCD
analogous
#CD8E3F #C5CD3F #7ECD3F
triadic
#C5CD3F #3FC5CD #CD3FC5
tetradic
#C5CD3F #3FCD8E #473FCD #CD3F7E
square
#C5CD3F #3FCD8E #473FCD #CD3F7E
split-complementary
#C5CD3F #3F7ECD #8E3FCD
monochromatic
#6F741E #9DA42B #C5CD3F #D4DA70 #E2E6A0

Accessibility & contrast

On white

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

On black

12.18
#C5CD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CD3F
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CD3F#FFFFFF#000000##000000
##C5CD3F1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5cd3f;
/* rgb */ color: rgb(197, 205, 63);
/* oklch */ color: oklch(81.7% 0.160 112.6);
Tailwind
colors: {
  custom: {
    50: '#dadc7d',
    500: '#c5cd3f',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd3f;
$custom-light: #dadc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd3f",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 63
  },
  "hsl": {
    "h": 63.38,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81686,
    "c": 0.15955,
    "h": 112.6
  },
  "luminance": 0.55892
}

Semantic roles & 50–950 ramp

primary
#C5CD3F
secondary
#38347C
accent
#46E24F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5CD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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