#C5CB58#C5CB58

#C5CB58 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.5% C 0.138 H 111.8°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#C5CB58
RGBrgb(197, 203, 88)
HSLhsl(63, 53%, 57%)
HSVhsv(63, 57%, 80%)
CMYKcmyk(3%, 0%, 56.7%, 20.4%)
CIE-LABlab(79.21, -17.40, 55.47)
CIE-LCHlch(79.21, 58.13, 107.42°)
OKLaboklab(81.47% -0.0515 0.1284)
OKLCHoklch(81.47% 0.138 111.8)
XYZxyz(46.1445, 55.2877, 17.4714)
Luminance0.5529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CB58 #5E58CB
analogous
#CB9758 #C5CB58 #8CCB58
triadic
#C5CB58 #58C5CB #CB58C5
tetradic
#C5CB58 #58CB97 #5E58CB #CB588C
square
#C5CB58 #58CB97 #5E58CB #CB588C
split-complementary
#C5CB58 #588CCB #9758CB
monochromatic
#7C8128 #A9AF37 #C5CB58 #D5DA87 #E5E8B5

Accessibility & contrast

On white

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

On black

12.06
#C5CB58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CB58
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CB58#FFFFFF#000000##000000
##C5CB581.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5cb58;
/* rgb */ color: rgb(197, 203, 88);
/* oklch */ color: oklch(81.5% 0.138 111.8);
Tailwind
colors: {
  custom: {
    50: '#d9da8b',
    500: '#c5cb58',
    950: '#000000',
  },
}
SCSS
$custom: #c5cb58;
$custom-light: #d9da8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cb58",
  "rgb": {
    "r": 197,
    "g": 203,
    "b": 88
  },
  "hsl": {
    "h": 63.13,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81473,
    "c": 0.13838,
    "h": 111.8
  },
  "luminance": 0.55287
}

Semantic roles & 50–950 ramp

primary
#C5CB58
secondary
#433F88
accent
#4CDC53
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C5CB58

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

Preview Lab → · Contrast checker → · Palette generator →

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