#C8CA78#C8CA78

#C8CA78 is a light, moderate yellow. Relative luminance 0.559; OKLCH L 81.9% C 0.105 H 109.7°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#C8CA78
RGBrgb(200, 202, 120)
HSLhsl(61, 44%, 63%)
HSVhsv(61, 41%, 79%)
CMYKcmyk(1%, 0%, 40.6%, 20.8%)
CIE-LABlab(79.54, -12.74, 40.64)
CIE-LCHlch(79.54, 42.59, 107.41°)
OKLaboklab(81.92% -0.0353 0.0986)
OKLCHoklch(81.92% 0.105 109.7)
XYZxyz(48.3308, 55.8774, 26.0051)
Luminance0.5588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA78 #7A78CA
analogous
#CAA378 #C8CA78 #9FCA78
triadic
#C8CA78 #78C8CA #CA78C8
tetradic
#C8CA78 #78CAA3 #7A78CA #CA789F
square
#C8CA78 #78CAA3 #7A78CA #CA789F
split-complementary
#C8CA78 #789FCA #A378CA
monochromatic
#8D8F38 #B6B94C #C8CA78 #DADBA4 #ECEDD0

Accessibility & contrast

On white

1.72
#C8CA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#C8CA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA78
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA78#FFFFFF#000000##000000
##C8CA781.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C472
Deuteranopia (green-blind)
#D7C67C
Tritanopia (blue-blind)
#D2C1B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8ca78;
/* rgb */ color: rgb(200, 202, 120);
/* oklch */ color: oklch(81.9% 0.105 109.7);
Tailwind
colors: {
  custom: {
    50: '#dadaa0',
    500: '#c8ca78',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca78;
$custom-light: #dadaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca78",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 120
  },
  "hsl": {
    "h": 61.463,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.8192,
    "c": 0.10475,
    "h": 109.7
  },
  "luminance": 0.55876
}

Semantic roles & 50–950 ramp

primary
#C8CA78
secondary
#525096
accent
#2FB732
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #C8CA78

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

Preview Lab → · Contrast checker → · Palette generator →

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