#C5CB57#C5CB57

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

Color values

HEX#C5CB57
RGBrgb(197, 203, 87)
HSLhsl(63, 53%, 57%)
HSVhsv(63, 57%, 80%)
CMYKcmyk(3%, 0%, 57.1%, 20.4%)
CIE-LABlab(79.20, -17.48, 55.90)
CIE-LCHlch(79.20, 58.57, 107.36°)
OKLaboklab(81.46% -0.0518 0.1293)
OKLCHoklch(81.46% 0.139 111.8)
XYZxyz(46.1033, 55.2713, 17.2548)
Luminance0.5527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CB57 #5D57CB
analogous
#CB9757 #C5CB57 #8BCB57
triadic
#C5CB57 #57C5CB #CB57C5
tetradic
#C5CB57 #57CB97 #5D57CB #CB578B
square
#C5CB57 #57CB97 #5D57CB #CB578B
split-complementary
#C5CB57 #578BCB #9757CB
monochromatic
#7B8028 #A8AF36 #C5CB57 #D5D986 #E5E8B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CB57#FFFFFF#000000##000000
##C5CB571.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)
#D9C34A
Deuteranopia (green-blind)
#D9C65E
Tritanopia (blue-blind)
#D1C0B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cb57;
/* rgb */ color: rgb(197, 203, 87);
/* oklch */ color: oklch(81.5% 0.139 111.8);
Tailwind
colors: {
  custom: {
    50: '#d9da8a',
    500: '#c5cb57',
    950: '#000000',
  },
}
SCSS
$custom: #c5cb57;
$custom-light: #d9da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cb57",
  "rgb": {
    "r": 197,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 63.103,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81462,
    "c": 0.13925,
    "h": 111.8
  },
  "luminance": 0.5527
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5CB57

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

Preview Lab → · Contrast checker → · Palette generator →

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