#C5CB55#C5CB55

#C5CB55 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.4% C 0.141 H 111.8°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#C5CB55
RGBrgb(197, 203, 85)
HSLhsl(63, 53%, 56%)
HSVhsv(63, 58%, 80%)
CMYKcmyk(3%, 0%, 58.1%, 20.4%)
CIE-LABlab(79.18, -17.63, 56.77)
CIE-LCHlch(79.18, 59.44, 107.25°)
OKLaboklab(81.44% -0.0524 0.1309)
OKLCHoklch(81.44% 0.141 111.8)
XYZxyz(46.0227, 55.2391, 16.8304)
Luminance0.5524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CB55 #5B55CB
analogous
#CB9655 #C5CB55 #8ACB55
triadic
#C5CB55 #55C5CB #CB55C5
tetradic
#C5CB55 #55CB96 #5B55CB #CB558A
square
#C5CB55 #55CB96 #5B55CB #CB558A
split-complementary
#C5CB55 #558ACB #9655CB
monochromatic
#7A7F27 #A8AE35 #C5CB55 #D5D984 #E5E8B3

Accessibility & contrast

On white

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

On black

12.05
#C5CB55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CB55
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CB55#FFFFFF#000000##000000
##C5CB551.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C248
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#D1C0B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cb55;
/* rgb */ color: rgb(197, 203, 85);
/* oklch */ color: oklch(81.4% 0.141 111.8);
Tailwind
colors: {
  custom: {
    50: '#d9da89',
    500: '#c5cb55',
    950: '#000000',
  },
}
SCSS
$custom: #c5cb55;
$custom-light: #d9da89;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cb55",
  "rgb": {
    "r": 197,
    "g": 203,
    "b": 85
  },
  "hsl": {
    "h": 63.051,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81441,
    "c": 0.14097,
    "h": 111.8
  },
  "luminance": 0.55238
}

Semantic roles & 50–950 ramp

primary
#C5CB55
secondary
#413E87
accent
#4BDD53
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C5CB55

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

Preview Lab → · Contrast checker → · Palette generator →

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