#C8CA7D#C8CA7D

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

Color values

HEX#C8CA7D
RGBrgb(200, 202, 125)
HSLhsl(62, 42%, 64%)
HSVhsv(62, 38%, 79%)
CMYKcmyk(1%, 0%, 38.1%, 20.8%)
CIE-LABlab(79.61, -12.19, 38.21)
CIE-LCHlch(79.61, 40.11, 107.70°)
OKLaboklab(82% -0.0334 0.0933)
OKLCHoklch(82% 0.099 109.7)
XYZxyz(48.6422, 56.0020, 27.6451)
Luminance0.5600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA7D #7F7DCA
analogous
#CAA67D #C8CA7D #A2CA7D
triadic
#C8CA7D #7DC8CA #CA7DC8
tetradic
#C8CA7D #7DCAA6 #7F7DCA #CA7DA2
square
#C8CA7D #7DCAA6 #7F7DCA #CA7DA2
split-complementary
#C8CA7D #7DA2CA #A67DCA
monochromatic
#8F913B #B6B852 #C8CA7D #DADCA8 #EDEDD4

Accessibility & contrast

On white

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

On black

12.20
#C8CA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA7D
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA7D#FFFFFF#000000##000000
##C8CA7D1.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ca7d;
/* rgb */ color: rgb(200, 202, 125);
/* oklch */ color: oklch(82.0% 0.099 109.7);
Tailwind
colors: {
  custom: {
    50: '#dadaa3',
    500: '#c8ca7d',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca7d;
$custom-light: #dadaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca7d",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 125
  },
  "hsl": {
    "h": 61.558,
    "s": 42.077,
    "l": 64.118
  },
  "oklch": {
    "l": 0.81999,
    "c": 0.09913,
    "h": 109.7
  },
  "luminance": 0.56001
}

Semantic roles & 50–950 ramp

primary
#C8CA7D
secondary
#555398
accent
#30B534
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #C8CA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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