#C5CD4B#C5CD4B

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

Color values

HEX#C5CD4B
RGBrgb(197, 205, 75)
HSLhsl(64, 57%, 55%)
HSVhsv(64, 63%, 80%)
CMYKcmyk(3.9%, 0%, 63.4%, 19.6%)
CIE-LABlab(79.64, -19.30, 61.50)
CIE-LCHlch(79.64, 64.46, 107.42°)
OKLaboklab(81.78% -0.0582 0.1395)
OKLCHoklch(81.78% 0.151 112.6)
XYZxyz(46.1285, 56.0419, 15.0425)
Luminance0.5604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD4B #534BCD
analogous
#CD944B #C5CD4B #84CD4B
triadic
#C5CD4B #4BC5CD #CD4BC5
tetradic
#C5CD4B #4BCD94 #534BCD #CD4B84
square
#C5CD4B #4BCD94 #534BCD #CD4B84
split-complementary
#C5CD4B #4B84CD #944BCD
monochromatic
#767B22 #A4AB30 #C5CD4B #D4DA7B #E4E8AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CD4B#FFFFFF#000000##000000
##C5CD4B1.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)
#DCC43A
Deuteranopia (green-blind)
#DCC754
Tritanopia (blue-blind)
#D2C1B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cd4b;
/* rgb */ color: rgb(197, 205, 75);
/* oklch */ color: oklch(81.8% 0.151 112.6);
Tailwind
colors: {
  custom: {
    50: '#d9dc83',
    500: '#c5cd4b',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd4b;
$custom-light: #d9dc83;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd4b",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 75
  },
  "hsl": {
    "h": 63.692,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81781,
    "c": 0.15119,
    "h": 112.6
  },
  "luminance": 0.56041
}

Semantic roles & 50–950 ramp

primary
#C5CD4B
secondary
#3D3983
accent
#48E051
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5CD4B

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

Preview Lab → · Contrast checker → · Palette generator →

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