#C8CB51#C8CB51

#C8CB51 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.6% C 0.144 H 110.5°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#C8CB51
RGBrgb(200, 203, 81)
HSLhsl(61, 54%, 56%)
HSVhsv(61, 60%, 80%)
CMYKcmyk(1.5%, 0%, 60.1%, 20.4%)
CIE-LABlab(79.38, -16.67, 58.79)
CIE-LCHlch(79.38, 61.10, 105.84°)
OKLaboklab(81.65% -0.0504 0.1346)
OKLCHoklch(81.65% 0.144 110.5)
XYZxyz(46.6619, 55.5865, 16.0542)
Luminance0.5558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB51 #5451CB
analogous
#CB9151 #C8CB51 #8BCB51
triadic
#C8CB51 #51C8CB #CB51C8
tetradic
#C8CB51 #51CB91 #5451CB #CB518B
square
#C8CB51 #51CB91 #5451CB #CB518B
split-complementary
#C8CB51 #518BCB #9151CB
monochromatic
#7A7C25 #A9AC33 #C8CB51 #D7D980 #E6E7AF

Accessibility & contrast

On white

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

On black

12.12
#C8CB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB51
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB51#FFFFFF#000000##000000
##C8CB511.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC343
Deuteranopia (green-blind)
#DBC658
Tritanopia (blue-blind)
#D5BFB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cb51;
/* rgb */ color: rgb(200, 203, 81);
/* oklch */ color: oklch(81.6% 0.144 110.5);
Tailwind
colors: {
  custom: {
    50: '#dbda87',
    500: '#c8cb51',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb51;
$custom-light: #dbda87;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb51",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 61.475,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81646,
    "c": 0.14368,
    "h": 110.5
  },
  "luminance": 0.55585
}

Semantic roles & 50–950 ramp

primary
#C8CB51
secondary
#3E3C84
accent
#4ADD4E
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8CB51

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

Preview Lab → · Contrast checker → · Palette generator →

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