#C8CB78#C8CB78

#C8CB78 is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.1% C 0.106 H 110.3°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#C8CB78
RGBrgb(200, 203, 120)
HSLhsl(62, 44%, 63%)
HSVhsv(62, 41%, 80%)
CMYKcmyk(1.5%, 0%, 40.9%, 20.4%)
CIE-LABlab(79.81, -13.25, 40.98)
CIE-LCHlch(79.81, 43.07, 107.92°)
OKLaboklab(82.13% -0.0368 0.0994)
OKLCHoklch(82.13% 0.106 110.3)
XYZxyz(48.5662, 56.3482, 26.0835)
Luminance0.5635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB78 #7B78CB
analogous
#CBA478 #C8CB78 #9ECB78
triadic
#C8CB78 #78C8CB #CB78C8
tetradic
#C8CB78 #78CBA4 #7B78CB #CB789E
square
#C8CB78 #78CBA4 #7B78CB #CB789E
split-complementary
#C8CB78 #789ECB #A478CB
monochromatic
#8E9138 #B6BA4C #C8CB78 #DADCA4 #ECEDD0

Accessibility & contrast

On white

1.71
#C8CB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#C8CB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB78
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB78#FFFFFF#000000##000000
##C8CB781.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C471
Deuteranopia (green-blind)
#D8C77C
Tritanopia (blue-blind)
#D2C2B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c8cb78;
/* rgb */ color: rgb(200, 203, 120);
/* oklch */ color: oklch(82.1% 0.106 110.3);
Tailwind
colors: {
  custom: {
    50: '#dadaa0',
    500: '#c8cb78',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb78;
$custom-light: #dadaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb78",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 120
  },
  "hsl": {
    "h": 62.169,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82132,
    "c": 0.10596,
    "h": 110.3
  },
  "luminance": 0.56347
}

Semantic roles & 50–950 ramp

primary
#C8CB78
secondary
#525098
accent
#2EB833
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #C8CB78

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

Preview Lab → · Contrast checker → · Palette generator →

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