#C8CB3C#C8CB3C

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

Color values

HEX#C8CB3C
RGBrgb(200, 203, 60)
HSLhsl(61, 58%, 52%)
HSVhsv(61, 70%, 80%)
CMYKcmyk(1.5%, 0%, 70.4%, 20.4%)
CIE-LABlab(79.22, -17.91, 66.90)
CIE-LCHlch(79.22, 69.26, 104.99°)
OKLaboklab(81.47% -0.056 0.1485)
OKLCHoklch(81.47% 0.159 110.7)
XYZxyz(45.9925, 55.3187, 12.5289)
Luminance0.5532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB3C #3F3CCB
analogous
#CB873C #C8CB3C #81CB3C
triadic
#C8CB3C #3CC8CB #CB3CC8
tetradic
#C8CB3C #3CCB87 #3F3CCB #CB3C81
square
#C8CB3C #3CCB87 #3F3CCB #CB3C81
split-complementary
#C8CB3C #3C81CB #873CCB
monochromatic
#6D6F1E #9D9F2A #C8CB3C #D6D86C #E3E59D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CB3C#FFFFFF#000000##000000
##C8CB3C1.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)
#DBC223
Deuteranopia (green-blind)
#DCC647
Tritanopia (blue-blind)
#D6BEAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c8cb3c;
/* rgb */ color: rgb(200, 203, 60);
/* oklch */ color: oklch(81.5% 0.159 110.7);
Tailwind
colors: {
  custom: {
    50: '#dcda7b',
    500: '#c8cb3c',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb3c;
$custom-light: #dcda7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb3c",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 60
  },
  "hsl": {
    "h": 61.259,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81475,
    "c": 0.15865,
    "h": 110.7
  },
  "luminance": 0.55317
}

Semantic roles & 50–950 ramp

primary
#C8CB3C
secondary
#343378
accent
#47E14A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8CB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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