#C8CA7B#C8CA7B

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

Color values

HEX#C8CA7B
RGBrgb(200, 202, 123)
HSLhsl(62, 43%, 64%)
HSVhsv(62, 39%, 79%)
CMYKcmyk(1%, 0%, 39.1%, 20.8%)
CIE-LABlab(79.59, -12.42, 39.19)
CIE-LCHlch(79.59, 41.11, 107.58°)
OKLaboklab(81.97% -0.0342 0.0955)
OKLCHoklch(81.97% 0.101 109.7)
XYZxyz(48.5157, 55.9514, 26.9790)
Luminance0.5595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA7B #7D7BCA
analogous
#CAA47B #C8CA7B #A0CA7B
triadic
#C8CA7B #7BC8CA #CA7BC8
tetradic
#C8CA7B #7BCAA4 #7D7BCA #CA7BA0
square
#C8CA7B #7BCAA4 #7D7BCA #CA7BA0
split-complementary
#C8CA7B #7BA0CA #A47BCA
monochromatic
#8E913A #B6B84F #C8CA7B #DADCA7 #ECEDD2

Accessibility & contrast

On white

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

On black

12.19
#C8CA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA7B
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA7B#FFFFFF#000000##000000
##C8CA7B1.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ca7b;
/* rgb */ color: rgb(200, 202, 123);
/* oklch */ color: oklch(82.0% 0.101 109.7);
Tailwind
colors: {
  custom: {
    50: '#dadaa2',
    500: '#c8ca7b',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca7b;
$custom-light: #dadaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca7b",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 123
  },
  "hsl": {
    "h": 61.519,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.81967,
    "c": 0.10139,
    "h": 109.7
  },
  "luminance": 0.5595
}

Semantic roles & 50–950 ramp

primary
#C8CA7B
secondary
#545297
accent
#30B633
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #C8CA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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