#C5CD45#C5CD45

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

Color values

HEX#C5CD45
RGBrgb(197, 205, 69)
HSLhsl(64, 58%, 54%)
HSVhsv(64, 66%, 80%)
CMYKcmyk(3.9%, 0%, 66.3%, 19.6%)
CIE-LABlab(79.59, -19.67, 63.84)
CIE-LCHlch(79.59, 66.80, 107.12°)
OKLaboklab(81.73% -0.0598 0.1436)
OKLCHoklch(81.73% 0.156 112.6)
XYZxyz(45.9328, 55.9636, 14.0115)
Luminance0.5596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD45 #4D45CD
analogous
#CD9145 #C5CD45 #81CD45
triadic
#C5CD45 #45C5CD #CD45C5
tetradic
#C5CD45 #45CD91 #4D45CD #CD4581
square
#C5CD45 #45CD91 #4D45CD #CD4581
split-complementary
#C5CD45 #4581CD #9145CD
monochromatic
#727720 #A1A82D #C5CD45 #D4DA75 #E3E7A5

Accessibility & contrast

On white

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

On black

12.19
#C5CD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CD45
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CD45#FFFFFF#000000##000000
##C5CD451.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC431
Deuteranopia (green-blind)
#DCC74F
Tritanopia (blue-blind)
#D2C1B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cd45;
/* rgb */ color: rgb(197, 205, 69);
/* oklch */ color: oklch(81.7% 0.156 112.6);
Tailwind
colors: {
  custom: {
    50: '#dadc80',
    500: '#c5cd45',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd45;
$custom-light: #dadc80;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd45",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 69
  },
  "hsl": {
    "h": 63.529,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81731,
    "c": 0.15554,
    "h": 112.6
  },
  "luminance": 0.55963
}

Semantic roles & 50–950 ramp

primary
#C5CD45
secondary
#3B3680
accent
#47E150
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5CD45

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

Preview Lab → · Contrast checker → · Palette generator →

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