#C5CD47#C5CD47

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

Color values

HEX#C5CD47
RGBrgb(197, 205, 71)
HSLhsl(64, 57%, 54%)
HSVhsv(64, 65%, 80%)
CMYKcmyk(3.9%, 0%, 65.4%, 19.6%)
CIE-LABlab(79.61, -19.55, 63.08)
CIE-LCHlch(79.61, 66.04, 107.22°)
OKLaboklab(81.75% -0.0593 0.1423)
OKLCHoklch(81.75% 0.154 112.6)
XYZxyz(45.9959, 55.9889, 14.3440)
Luminance0.5599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD47 #4F47CD
analogous
#CD9247 #C5CD47 #82CD47
triadic
#C5CD47 #47C5CD #CD47C5
tetradic
#C5CD47 #47CD92 #4F47CD #CD4782
square
#C5CD47 #47CD92 #4F47CD #CD4782
split-complementary
#C5CD47 #4782CD #9247CD
monochromatic
#747921 #A2A92E #C5CD47 #D4DA77 #E3E7A7

Accessibility & contrast

On white

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

On black

12.20
#C5CD47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CD47
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CD47#FFFFFF#000000##000000
##C5CD471.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5cd47;
/* rgb */ color: rgb(197, 205, 71);
/* oklch */ color: oklch(81.7% 0.154 112.6);
Tailwind
colors: {
  custom: {
    50: '#dadc81',
    500: '#c5cd47',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd47;
$custom-light: #dadc81;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd47",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 71
  },
  "hsl": {
    "h": 63.582,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81747,
    "c": 0.15413,
    "h": 112.6
  },
  "luminance": 0.55988
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5CD47

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

Preview Lab → · Contrast checker → · Palette generator →

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