#C8CA7E#C8CA7E

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

Color values

HEX#C8CA7E
RGBrgb(200, 202, 126)
HSLhsl(62, 42%, 64%)
HSVhsv(62, 38%, 79%)
CMYKcmyk(1%, 0%, 37.6%, 20.8%)
CIE-LABlab(79.63, -12.08, 37.72)
CIE-LCHlch(79.63, 39.61, 107.76°)
OKLaboklab(82.02% -0.033 0.0923)
OKLCHoklch(82.02% 0.098 109.7)
XYZxyz(48.7064, 56.0276, 27.9832)
Luminance0.5603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA7E #807ECA
analogous
#CAA67E #C8CA7E #A2CA7E
triadic
#C8CA7E #7EC8CA #CA7EC8
tetradic
#C8CA7E #7ECAA6 #807ECA #CA7EA2
square
#C8CA7E #7ECAA6 #807ECA #CA7EA2
split-complementary
#C8CA7E #7EA2CA #A67ECA
monochromatic
#8F923C #B6B853 #C8CA7E #DADCA9 #EDEED5

Accessibility & contrast

On white

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

On black

12.21
#C8CA7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA7E
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA7E#FFFFFF#000000##000000
##C8CA7E1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ca7e;
/* rgb */ color: rgb(200, 202, 126);
/* oklch */ color: oklch(82.0% 0.098 109.7);
Tailwind
colors: {
  custom: {
    50: '#dadaa4',
    500: '#c8ca7e',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca7e;
$custom-light: #dadaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca7e",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 126
  },
  "hsl": {
    "h": 61.579,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.82015,
    "c": 0.09799,
    "h": 109.7
  },
  "luminance": 0.56027
}

Semantic roles & 50–950 ramp

primary
#C8CA7E
secondary
#555499
accent
#31B534
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #C8CA7E

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

Preview Lab → · Contrast checker → · Palette generator →

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