#C5CC4E#C5CC4E

#C5CC4E is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.6% C 0.148 H 112.3°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#C5CC4E
RGBrgb(197, 204, 78)
HSLhsl(63, 55%, 55%)
HSVhsv(63, 62%, 80%)
CMYKcmyk(3.4%, 0%, 61.8%, 20%)
CIE-LABlab(79.39, -18.61, 60.00)
CIE-LCHlch(79.39, 62.82, 107.23°)
OKLaboklab(81.59% -0.056 0.1368)
OKLCHoklch(81.59% 0.148 112.3)
XYZxyz(45.9952, 55.6071, 15.5166)
Luminance0.5561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC4E #554ECC
analogous
#CC944E #C5CC4E #86CC4E
triadic
#C5CC4E #4EC5CC #CC4EC5
tetradic
#C5CC4E #4ECC94 #554ECC #CC4E86
square
#C5CC4E #4ECC94 #554ECC #CC4E86
split-complementary
#C5CC4E #4E86CC #944ECC
monochromatic
#777C24 #A5AB31 #C5CC4E #D5DA7E #E4E7AD

Accessibility & contrast

On white

1.73
#C5CC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#C5CC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC4E
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC4E#FFFFFF#000000##000000
##C5CC4E1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33E
Deuteranopia (green-blind)
#DBC656
Tritanopia (blue-blind)
#D2C0B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cc4e;
/* rgb */ color: rgb(197, 204, 78);
/* oklch */ color: oklch(81.6% 0.148 112.3);
Tailwind
colors: {
  custom: {
    50: '#d9db85',
    500: '#c5cc4e',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc4e;
$custom-light: #d9db85;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc4e",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 78
  },
  "hsl": {
    "h": 63.333,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.8159,
    "c": 0.1478,
    "h": 112.3
  },
  "luminance": 0.55606
}

Semantic roles & 50–950 ramp

primary
#C5CC4E
secondary
#3E3A84
accent
#49DF52
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C5CC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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