#C8CA7A#C8CA7A

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

Color values

HEX#C8CA7A
RGBrgb(200, 202, 122)
HSLhsl(62, 43%, 64%)
HSVhsv(62, 40%, 79%)
CMYKcmyk(1%, 0%, 39.6%, 20.8%)
CIE-LABlab(79.57, -12.53, 39.67)
CIE-LCHlch(79.57, 41.60, 107.52°)
OKLaboklab(81.95% -0.0346 0.0965)
OKLCHoklch(81.95% 0.103 109.7)
XYZxyz(48.4534, 55.9265, 26.6510)
Luminance0.5593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA7A #7C7ACA
analogous
#CAA47A #C8CA7A #A0CA7A
triadic
#C8CA7A #7AC8CA #CA7AC8
tetradic
#C8CA7A #7ACAA4 #7C7ACA #CA7AA0
square
#C8CA7A #7ACAA4 #7C7ACA #CA7AA0
split-complementary
#C8CA7A #7AA0CA #A47ACA
monochromatic
#8E9039 #B6B94E #C8CA7A #DADBA6 #ECEDD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CA7A#FFFFFF#000000##000000
##C8CA7A1.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)
#D6C474
Deuteranopia (green-blind)
#D7C77E
Tritanopia (blue-blind)
#D2C1B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8ca7a;
/* rgb */ color: rgb(200, 202, 122);
/* oklch */ color: oklch(82.0% 0.103 109.7);
Tailwind
colors: {
  custom: {
    50: '#dadaa1',
    500: '#c8ca7a',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca7a;
$custom-light: #dadaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca7a",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 122
  },
  "hsl": {
    "h": 61.5,
    "s": 43.011,
    "l": 63.529
  },
  "oklch": {
    "l": 0.81951,
    "c": 0.10252,
    "h": 109.7
  },
  "luminance": 0.55926
}

Semantic roles & 50–950 ramp

primary
#C8CA7A
secondary
#535197
accent
#2FB633
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #C8CA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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