#C5CD4D#C5CD4D

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

Color values

HEX#C5CD4D
RGBrgb(197, 205, 77)
HSLhsl(64, 56%, 55%)
HSVhsv(64, 62%, 80%)
CMYKcmyk(3.9%, 0%, 62.4%, 19.6%)
CIE-LABlab(79.65, -19.17, 60.70)
CIE-LCHlch(79.65, 63.65, 107.53°)
OKLaboklab(81.8% -0.0576 0.1381)
OKLCHoklch(81.8% 0.15 112.7)
XYZxyz(46.1981, 56.0697, 15.4087)
Luminance0.5607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD4D #554DCD
analogous
#CD954D #C5CD4D #85CD4D
triadic
#C5CD4D #4DC5CD #CD4DC5
tetradic
#C5CD4D #4DCD95 #554DCD #CD4D85
square
#C5CD4D #4DCD95 #554DCD #CD4D85
split-complementary
#C5CD4D #4D85CD #954DCD
monochromatic
#777D23 #A5AC30 #C5CD4D #D5DA7D #E4E8AD

Accessibility & contrast

On white

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

On black

12.21
#C5CD4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CD4D
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CD4D#FFFFFF#000000##000000
##C5CD4D1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43D
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#D1C1B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cd4d;
/* rgb */ color: rgb(197, 205, 77);
/* oklch */ color: oklch(81.8% 0.150 112.7);
Tailwind
colors: {
  custom: {
    50: '#d9dc85',
    500: '#c5cd4d',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd4d;
$custom-light: #d9dc85;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd4d",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 77
  },
  "hsl": {
    "h": 63.75,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81799,
    "c": 0.14967,
    "h": 112.7
  },
  "luminance": 0.56069
}

Semantic roles & 50–950 ramp

primary
#C5CD4D
secondary
#3E3A84
accent
#48DF52
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5CD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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