#C5CC3F#C5CC3F

#C5CC3F is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.5% C 0.158 H 112.2°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#C5CC3F
RGBrgb(197, 204, 63)
HSLhsl(63, 58%, 52%)
HSVhsv(63, 69%, 80%)
CMYKcmyk(3.4%, 0%, 69.1%, 20%)
CIE-LABlab(79.28, -19.51, 65.79)
CIE-LCHlch(79.28, 68.62, 106.51°)
OKLaboklab(81.47% -0.06 0.1467)
OKLCHoklch(81.47% 0.158 112.2)
XYZxyz(45.5174, 55.4160, 13.0003)
Luminance0.5542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC3F #463FCC
analogous
#CC8D3F #C5CC3F #7ECC3F
triadic
#C5CC3F #3FC5CC #CC3FC5
tetradic
#C5CC3F #3FCC8D #463FCC #CC3F7E
square
#C5CC3F #3FCC8D #463FCC #CC3F7E
split-complementary
#C5CC3F #3F7ECC #8D3FCC
monochromatic
#6E721E #9DA32B #C5CC3F #D4D96F #E2E6A0

Accessibility & contrast

On white

1.74
#C5CC3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#C5CC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC3F
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC3F#FFFFFF#000000##000000
##C5CC3F1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC328
Deuteranopia (green-blind)
#DCC649
Tritanopia (blue-blind)
#D2C0B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cc3f;
/* rgb */ color: rgb(197, 204, 63);
/* oklch */ color: oklch(81.5% 0.158 112.2);
Tailwind
colors: {
  custom: {
    50: '#dadb7d',
    500: '#c5cc3f',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc3f;
$custom-light: #dadb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc3f",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 63
  },
  "hsl": {
    "h": 62.979,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81468,
    "c": 0.15849,
    "h": 112.2
  },
  "luminance": 0.55415
}

Semantic roles & 50–950 ramp

primary
#C5CC3F
secondary
#38347B
accent
#47E14E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5CC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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