#C5CD4A#C5CD4A

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

Color values

HEX#C5CD4A
RGBrgb(197, 205, 74)
HSLhsl(64, 57%, 55%)
HSVhsv(64, 64%, 80%)
CMYKcmyk(3.9%, 0%, 63.9%, 19.6%)
CIE-LABlab(79.63, -19.37, 61.90)
CIE-LCHlch(79.63, 64.86, 107.37°)
OKLaboklab(81.77% -0.0585 0.1402)
OKLCHoklch(81.77% 0.152 112.6)
XYZxyz(46.0946, 56.0284, 14.8636)
Luminance0.5603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD4A #524ACD
analogous
#CD944A #C5CD4A #84CD4A
triadic
#C5CD4A #4AC5CD #CD4AC5
tetradic
#C5CD4A #4ACD94 #524ACD #CD4A84
square
#C5CD4A #4ACD94 #524ACD #CD4A84
split-complementary
#C5CD4A #4A84CD #944ACD
monochromatic
#757B22 #A3AB2F #C5CD4A #D4DA7A #E4E7AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CD4A#FFFFFF#000000##000000
##C5CD4A1.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)
#DCC439
Deuteranopia (green-blind)
#DCC753
Tritanopia (blue-blind)
#D2C1B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cd4a;
/* rgb */ color: rgb(197, 205, 74);
/* oklch */ color: oklch(81.8% 0.152 112.6);
Tailwind
colors: {
  custom: {
    50: '#dadc83',
    500: '#c5cd4a',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd4a;
$custom-light: #dadc83;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd4a",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 74
  },
  "hsl": {
    "h": 63.664,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81772,
    "c": 0.15194,
    "h": 112.6
  },
  "luminance": 0.56027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5CD4A

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

Preview Lab → · Contrast checker → · Palette generator →

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