#C8CD7C#C8CD7C

#C8CD7C is a very light, moderate yellow. Relative luminance 0.574; OKLCH L 82.6% C 0.104 H 111.5°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#C8CD7C
RGBrgb(200, 205, 124)
HSLhsl(64, 45%, 65%)
HSVhsv(64, 40%, 80%)
CMYKcmyk(2.4%, 0%, 39.5%, 19.6%)
CIE-LABlab(80.40, -13.82, 39.72)
CIE-LCHlch(80.40, 42.05, 109.19°)
OKLaboklab(82.62% -0.0381 0.0967)
OKLCHoklch(82.62% 0.104 111.5)
XYZxyz(49.2894, 57.3980, 27.5473)
Luminance0.5740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CD7C #817CCD
analogous
#CDAA7C #C8CD7C #A0CD7C
triadic
#C8CD7C #7CC8CD #CD7CC8
tetradic
#C8CD7C #7CCDAA #817CCD #CD7CA0
square
#C8CD7C #7CCDAA #817CCD #CD7CA0
split-complementary
#C8CD7C #7CA0CD #AA7CCD
monochromatic
#909639 #B5BC50 #C8CD7C #DBDEA8 #EDEFD5

Accessibility & contrast

On white

1.68
#C8CD7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#C8CD7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CD7C
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CD7C#FFFFFF#000000##000000
##C8CD7C1.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C676
Deuteranopia (green-blind)
#D9C980
Tritanopia (blue-blind)
#D2C4B9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c8cd7c;
/* rgb */ color: rgb(200, 205, 124);
/* oklch */ color: oklch(82.6% 0.104 111.5);
Tailwind
colors: {
  custom: {
    50: '#dadca3',
    500: '#c8cd7c',
    950: '#000000',
  },
}
SCSS
$custom: #c8cd7c;
$custom-light: #dadca3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cd7c",
  "rgb": {
    "r": 200,
    "g": 205,
    "b": 124
  },
  "hsl": {
    "h": 63.704,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82621,
    "c": 0.10396,
    "h": 111.5
  },
  "luminance": 0.57397
}

Semantic roles & 50–950 ramp

primary
#C8CD7C
secondary
#56519C
accent
#2EB836
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C8CD7C

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

Preview Lab → · Contrast checker → · Palette generator →

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