#C4CD51#C4CD51

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

Color values

HEX#C4CD51
RGBrgb(196, 205, 81)
HSLhsl(64, 55%, 56%)
HSVhsv(64, 60%, 80%)
CMYKcmyk(4.4%, 0%, 60.5%, 19.6%)
CIE-LABlab(79.61, -19.31, 58.95)
CIE-LCHlch(79.61, 62.03, 108.14°)
OKLaboklab(81.76% -0.0576 0.135)
OKLCHoklch(81.76% 0.147 113.1)
XYZxyz(46.0826, 55.9934, 16.1632)
Luminance0.5599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CD51 #5A51CD
analogous
#CD9851 #C4CD51 #86CD51
triadic
#C4CD51 #51C4CD #CD51C4
tetradic
#C4CD51 #51CD98 #5A51CD #CD5186
square
#C4CD51 #51CD98 #5A51CD #CD5186
split-complementary
#C4CD51 #5186CD #9851CD
monochromatic
#797F25 #A6AF32 #C4CD51 #D4DB81 #E4E8B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4CD51#FFFFFF#000000##000000
##C4CD511.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)
#DBC442
Deuteranopia (green-blind)
#DBC759
Tritanopia (blue-blind)
#D0C2B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c4cd51;
/* rgb */ color: rgb(196, 205, 81);
/* oklch */ color: oklch(81.8% 0.147 113.1);
Tailwind
colors: {
  custom: {
    50: '#d9dc87',
    500: '#c4cd51',
    950: '#000000',
  },
}
SCSS
$custom: #c4cd51;
$custom-light: #d9dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cd51",
  "rgb": {
    "r": 196,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 64.355,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81756,
    "c": 0.14675,
    "h": 113.1
  },
  "luminance": 0.55992
}

Semantic roles & 50–950 ramp

primary
#C4CD51
secondary
#413B87
accent
#49DF54
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C4CD51

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

Preview Lab → · Contrast checker → · Palette generator →

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