#C8CA8A#C8CA8A

#C8CA8A is a very light, moderate yellow. Relative luminance 0.564; OKLCH L 82.2% C 0.084 H 109.6°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#C8CA8A
RGBrgb(200, 202, 138)
HSLhsl(62, 38%, 67%)
HSVhsv(62, 32%, 79%)
CMYKcmyk(1%, 0%, 31.7%, 20.8%)
CIE-LABlab(79.82, -10.65, 31.80)
CIE-LCHlch(79.82, 33.54, 108.51°)
OKLaboklab(82.23% -0.0282 0.079)
OKLCHoklch(82.23% 0.084 109.6)
XYZxyz(49.5276, 56.3561, 32.3086)
Luminance0.5635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA8A #8C8ACA
analogous
#CAAC8A #C8CA8A #A8CA8A
triadic
#C8CA8A #8AC8CA #CA8AC8
tetradic
#C8CA8A #8ACAAC #8C8ACA #CA8AA8
square
#C8CA8A #8ACAAC #8C8ACA #CA8AA8
split-complementary
#C8CA8A #8AA8CA #AC8ACA
monochromatic
#939644 #B4B760 #C8CA8A #DCDDB4 #F0F0DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CA8A#FFFFFF#000000##000000
##C8CA8A1.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)
#D4C586
Deuteranopia (green-blind)
#D5C78D
Tritanopia (blue-blind)
#D1C2BA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c8ca8a;
/* rgb */ color: rgb(200, 202, 138);
/* oklch */ color: oklch(82.2% 0.084 109.6);
Tailwind
colors: {
  custom: {
    50: '#d9daac',
    500: '#c8ca8a',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca8a;
$custom-light: #d9daac;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca8a",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 138
  },
  "hsl": {
    "h": 61.875,
    "s": 37.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.82225,
    "c": 0.08388,
    "h": 109.6
  },
  "luminance": 0.56355
}

Semantic roles & 50–950 ramp

primary
#C8CA8A
secondary
#5D5B9D
accent
#35B139
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #C8CA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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