#C4CD52#C4CD52

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

Color values

HEX#C4CD52
RGBrgb(196, 205, 82)
HSLhsl(64, 55%, 56%)
HSVhsv(64, 60%, 80%)
CMYKcmyk(4.4%, 0%, 60%, 19.6%)
CIE-LABlab(79.62, -19.24, 58.53)
CIE-LCHlch(79.62, 61.61, 108.20°)
OKLaboklab(81.77% -0.0573 0.1342)
OKLCHoklch(81.77% 0.146 113.1)
XYZxyz(46.1204, 56.0085, 16.3622)
Luminance0.5601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CD52 #5B52CD
analogous
#CD9952 #C4CD52 #87CD52
triadic
#C4CD52 #52C4CD #CD52C4
tetradic
#C4CD52 #52CD99 #5B52CD #CD5287
square
#C4CD52 #52CD99 #5B52CD #CD5287
split-complementary
#C4CD52 #5287CD #9952CD
monochromatic
#798025 #A6AF33 #C4CD52 #D4DB81 #E4E8B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4CD52#FFFFFF#000000##000000
##C4CD521.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)
#DBC444
Deuteranopia (green-blind)
#DBC75A
Tritanopia (blue-blind)
#D0C2B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c4cd52;
/* rgb */ color: rgb(196, 205, 82);
/* oklch */ color: oklch(81.8% 0.146 113.1);
Tailwind
colors: {
  custom: {
    50: '#d8dc88',
    500: '#c4cd52',
    950: '#000000',
  },
}
SCSS
$custom: #c4cd52;
$custom-light: #d8dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cd52",
  "rgb": {
    "r": 196,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 64.39,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81765,
    "c": 0.14594,
    "h": 113.1
  },
  "luminance": 0.56008
}

Semantic roles & 50–950 ramp

primary
#C4CD52
secondary
#413C87
accent
#49DE54
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C4CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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