#C8CA6C#C8CA6C

#C8CA6C is a light, moderate yellow. Relative luminance 0.556; OKLCH L 81.7% C 0.118 H 109.8°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#C8CA6C
RGBrgb(200, 202, 108)
HSLhsl(61, 47%, 61%)
HSVhsv(61, 47%, 79%)
CMYKcmyk(1%, 0%, 46.5%, 20.8%)
CIE-LABlab(79.39, -13.96, 46.38)
CIE-LCHlch(79.39, 48.44, 106.75°)
OKLaboklab(81.75% -0.0399 0.1106)
OKLCHoklch(81.75% 0.118 109.8)
XYZxyz(47.6476, 55.6041, 22.4071)
Luminance0.5560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA6C #6E6CCA
analogous
#CA9D6C #C8CA6C #99CA6C
triadic
#C8CA6C #6CC8CA #CA6CC8
tetradic
#C8CA6C #6CCA9D #6E6CCA #CA6C99
square
#C8CA6C #6CCA9D #6E6CCA #CA6C99
split-complementary
#C8CA6C #6C99CA #9D6CCA
monochromatic
#888A32 #B4B742 #C8CA6C #D9DA99 #EAEAC6

Accessibility & contrast

On white

1.73
#C8CA6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#C8CA6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA6C
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA6C#FFFFFF#000000##000000
##C8CA6C1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C364
Deuteranopia (green-blind)
#D8C671
Tritanopia (blue-blind)
#D3C0B4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8ca6c;
/* rgb */ color: rgb(200, 202, 108);
/* oklch */ color: oklch(81.7% 0.118 109.8);
Tailwind
colors: {
  custom: {
    50: '#dada98',
    500: '#c8ca6c',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca6c;
$custom-light: #dada98;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca6c",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 108
  },
  "hsl": {
    "h": 61.277,
    "s": 47,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81745,
    "c": 0.1176,
    "h": 109.8
  },
  "luminance": 0.55603
}

Semantic roles & 50–950 ramp

primary
#C8CA6C
secondary
#4B4991
accent
#2BBA2E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C8CA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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