#C5CA55#C5CA55

#C5CA55 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.2% C 0.140 H 111.4°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#C5CA55
RGBrgb(197, 202, 85)
HSLhsl(63, 52%, 56%)
HSVhsv(63, 58%, 79%)
CMYKcmyk(2.5%, 0%, 57.9%, 20.8%)
CIE-LABlab(78.91, -17.13, 56.47)
CIE-LCHlch(78.91, 59.01, 106.87°)
OKLaboklab(81.23% -0.051 0.1302)
OKLCHoklch(81.23% 0.14 111.4)
XYZxyz(45.7874, 54.7683, 16.7519)
Luminance0.5477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CA55 #5A55CA
analogous
#CA9555 #C5CA55 #8BCA55
triadic
#C5CA55 #55C5CA #CA55C5
tetradic
#C5CA55 #55CA95 #5A55CA #CA558B
square
#C5CA55 #55CA95 #5A55CA #CA558B
split-complementary
#C5CA55 #558BCA #9555CA
monochromatic
#7A7D27 #A7AC36 #C5CA55 #D5D984 #E5E7B2

Accessibility & contrast

On white

1.76
#C5CA55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#C5CA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CA55
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CA55#FFFFFF#000000##000000
##C5CA551.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C248
Deuteranopia (green-blind)
#D9C55C
Tritanopia (blue-blind)
#D1BFB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c5ca55;
/* rgb */ color: rgb(197, 202, 85);
/* oklch */ color: oklch(81.2% 0.140 111.4);
Tailwind
colors: {
  custom: {
    50: '#d9da89',
    500: '#c5ca55',
    950: '#000000',
  },
}
SCSS
$custom: #c5ca55;
$custom-light: #d9da89;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ca55",
  "rgb": {
    "r": 197,
    "g": 202,
    "b": 85
  },
  "hsl": {
    "h": 62.564,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81225,
    "c": 0.13986,
    "h": 111.4
  },
  "luminance": 0.54767
}

Semantic roles & 50–950 ramp

primary
#C5CA55
secondary
#413E85
accent
#4CDC52
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C5CA55

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

Preview Lab → · Contrast checker → · Palette generator →

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