#C8CA7C#C8CA7C

#C8CA7C is a light, moderate yellow. Relative luminance 0.560; OKLCH L 82.0% C 0.100 H 109.7°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#C8CA7C
RGBrgb(200, 202, 124)
HSLhsl(62, 42%, 64%)
HSVhsv(62, 39%, 79%)
CMYKcmyk(1%, 0%, 38.6%, 20.8%)
CIE-LABlab(79.60, -12.31, 38.70)
CIE-LCHlch(79.60, 40.61, 107.64°)
OKLaboklab(81.98% -0.0338 0.0944)
OKLCHoklch(81.98% 0.1 109.7)
XYZxyz(48.5786, 55.9765, 27.3104)
Luminance0.5598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA7C #7E7CCA
analogous
#CAA57C #C8CA7C #A1CA7C
triadic
#C8CA7C #7CC8CA #CA7CC8
tetradic
#C8CA7C #7CCAA5 #7E7CCA #CA7CA1
square
#C8CA7C #7CCAA5 #7E7CCA #CA7CA1
split-complementary
#C8CA7C #7CA1CA #A57CCA
monochromatic
#8F913B #B6B850 #C8CA7C #DADCA8 #EDEDD3

Accessibility & contrast

On white

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

On black

12.20
#C8CA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA7C
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA7C#FFFFFF#000000##000000
##C8CA7C1.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C476
Deuteranopia (green-blind)
#D6C77F
Tritanopia (blue-blind)
#D2C1B7
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8ca7c;
/* rgb */ color: rgb(200, 202, 124);
/* oklch */ color: oklch(82.0% 0.100 109.7);
Tailwind
colors: {
  custom: {
    50: '#dadaa3',
    500: '#c8ca7c',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca7c;
$custom-light: #dadaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca7c",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 124
  },
  "hsl": {
    "h": 61.538,
    "s": 42.391,
    "l": 63.922
  },
  "oklch": {
    "l": 0.81983,
    "c": 0.10027,
    "h": 109.7
  },
  "luminance": 0.55976
}

Semantic roles & 50–950 ramp

primary
#C8CA7C
secondary
#545298
accent
#30B533
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #C8CA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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