#C8CA6B#C8CA6B

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

Color values

HEX#C8CA6B
RGBrgb(200, 202, 107)
HSLhsl(61, 47%, 61%)
HSVhsv(61, 47%, 79%)
CMYKcmyk(1%, 0%, 47%, 20.8%)
CIE-LABlab(79.38, -14.05, 46.85)
CIE-LCHlch(79.38, 48.92, 106.70°)
OKLaboklab(81.73% -0.0402 0.1116)
OKLCHoklch(81.73% 0.119 109.8)
XYZxyz(47.5947, 55.5830, 22.1285)
Luminance0.5558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA6B #6D6BCA
analogous
#CA9C6B #C8CA6B #98CA6B
triadic
#C8CA6B #6BC8CA #CA6BC8
tetradic
#C8CA6B #6BCA9C #6D6BCA #CA6B98
square
#C8CA6B #6BCA9C #6D6BCA #CA6B98
split-complementary
#C8CA6B #6B98CA #9C6BCA
monochromatic
#888931 #B4B641 #C8CA6B #D9DA98 #E9EAC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CA6B#FFFFFF#000000##000000
##C8CA6B1.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)
#D7C363
Deuteranopia (green-blind)
#D8C670
Tritanopia (blue-blind)
#D3C0B4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8ca6b;
/* rgb */ color: rgb(200, 202, 107);
/* oklch */ color: oklch(81.7% 0.119 109.8);
Tailwind
colors: {
  custom: {
    50: '#dada97',
    500: '#c8ca6b',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca6b;
$custom-light: #dada97;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca6b",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 107
  },
  "hsl": {
    "h": 61.263,
    "s": 47.264,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81731,
    "c": 0.11862,
    "h": 109.8
  },
  "luminance": 0.55582
}

Semantic roles & 50–950 ramp

primary
#C8CA6B
secondary
#4A4991
accent
#2BBB2E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C8CA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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