#C8CB5B#C8CB5B

#C8CB5B is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.8% C 0.135 H 110.5°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#C8CB5B
RGBrgb(200, 203, 91)
HSLhsl(62, 52%, 58%)
HSVhsv(62, 55%, 80%)
CMYKcmyk(1.5%, 0%, 55.2%, 20.4%)
CIE-LABlab(79.47, -15.94, 54.48)
CIE-LCHlch(79.47, 56.76, 106.31°)
OKLaboklab(81.75% -0.0472 0.1266)
OKLCHoklch(81.75% 0.135 110.5)
XYZxyz(47.0649, 55.7477, 18.1766)
Luminance0.5575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB5B #5E5BCB
analogous
#CB965B #C8CB5B #90CB5B
triadic
#C8CB5B #5BC8CB #CB5BC8
tetradic
#C8CB5B #5BCB96 #5E5BCB #CB5B90
square
#C8CB5B #5BCB96 #5E5BCB #CB5B90
split-complementary
#C8CB5B #5B90CB #965BCB
monochromatic
#808229 #AEB138 #C8CB5B #D8DA89 #E7E8B8

Accessibility & contrast

On white

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

On black

12.15
#C8CB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB5B
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB5B#FFFFFF#000000##000000
##C8CB5B1.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34F
Deuteranopia (green-blind)
#DAC761
Tritanopia (blue-blind)
#D4C0B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cb5b;
/* rgb */ color: rgb(200, 203, 91);
/* oklch */ color: oklch(81.8% 0.135 110.5);
Tailwind
colors: {
  custom: {
    50: '#dbda8d',
    500: '#c8cb5b',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb5b;
$custom-light: #dbda8d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb5b",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 91
  },
  "hsl": {
    "h": 61.607,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8175,
    "c": 0.13514,
    "h": 110.5
  },
  "luminance": 0.55747
}

Semantic roles & 50–950 ramp

primary
#C8CB5B
secondary
#42408A
accent
#4CDB50
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8CB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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