#C5CD4F#C5CD4F

#C5CD4F is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.8% C 0.148 H 112.7°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#C5CD4F
RGBrgb(197, 205, 79)
HSLhsl(64, 56%, 56%)
HSVhsv(64, 61%, 80%)
CMYKcmyk(3.9%, 0%, 61.5%, 19.6%)
CIE-LABlab(79.67, -19.04, 59.88)
CIE-LCHlch(79.67, 62.83, 107.64°)
OKLaboklab(81.82% -0.0571 0.1367)
OKLCHoklch(81.82% 0.148 112.7)
XYZxyz(46.2698, 56.0984, 15.7863)
Luminance0.5610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD4F #574FCD
analogous
#CD964F #C5CD4F #86CD4F
triadic
#C5CD4F #4FC5CD #CD4FC5
tetradic
#C5CD4F #4FCD96 #574FCD #CD4F86
square
#C5CD4F #4FCD96 #574FCD #CD4F86
split-complementary
#C5CD4F #4F86CD #964FCD
monochromatic
#787E24 #A6AE31 #C5CD4F #D5DB7F #E4E8AE

Accessibility & contrast

On white

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

On black

12.22
#C5CD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CD4F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CD4F#FFFFFF#000000##000000
##C5CD4F1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC440
Deuteranopia (green-blind)
#DCC757
Tritanopia (blue-blind)
#D1C1B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cd4f;
/* rgb */ color: rgb(197, 205, 79);
/* oklch */ color: oklch(81.8% 0.148 112.7);
Tailwind
colors: {
  custom: {
    50: '#d9dc86',
    500: '#c5cd4f',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd4f;
$custom-light: #d9dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd4f",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 79
  },
  "hsl": {
    "h": 63.81,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81817,
    "c": 0.14811,
    "h": 112.7
  },
  "luminance": 0.56097
}

Semantic roles & 50–950 ramp

primary
#C5CD4F
secondary
#3F3B86
accent
#49DF52
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5CD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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