#C5CC62#C5CC62

#C5CC62 is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.8% C 0.130 H 112.3°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#C5CC62
RGBrgb(197, 204, 98)
HSLhsl(64, 51%, 59%)
HSVhsv(64, 52%, 80%)
CMYKcmyk(3.4%, 0%, 52%, 20%)
CIE-LABlab(79.58, -17.08, 51.32)
CIE-LCHlch(79.58, 54.09, 108.41°)
OKLaboklab(81.8% -0.0496 0.1206)
OKLCHoklch(81.8% 0.13 112.3)
XYZxyz(46.8244, 55.9388, 19.8835)
Luminance0.5594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC62 #6962CC
analogous
#CC9E62 #C5CC62 #90CC62
triadic
#C5CC62 #62C5CC #CC62C5
tetradic
#C5CC62 #62CC9E #6962CC #CC6290
square
#C5CC62 #62CC9E #6962CC #CC6290
split-complementary
#C5CC62 #6290CC #9E62CC
monochromatic
#82882C #AEB63B #C5CC62 #D6DB90 #E7EABE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CC62#FFFFFF#000000##000000
##C5CC621.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)
#D9C458
Deuteranopia (green-blind)
#D9C768
Tritanopia (blue-blind)
#D0C1B4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cc62;
/* rgb */ color: rgb(197, 204, 98);
/* oklch */ color: oklch(81.8% 0.130 112.3);
Tailwind
colors: {
  custom: {
    50: '#d9db92',
    500: '#c5cc62',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc62;
$custom-light: #d9db92;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc62",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 98
  },
  "hsl": {
    "h": 63.962,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81803,
    "c": 0.13039,
    "h": 112.3
  },
  "luminance": 0.55938
}

Semantic roles & 50–950 ramp

primary
#C5CC62
secondary
#49448F
accent
#4DDA57
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C5CC62

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

Preview Lab → · Contrast checker → · Palette generator →

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