#C8CD7A#C8CD7A

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

Color values

HEX#C8CD7A
RGBrgb(200, 205, 122)
HSLhsl(64, 45%, 64%)
HSVhsv(64, 40%, 80%)
CMYKcmyk(2.4%, 0%, 40.5%, 19.6%)
CIE-LABlab(80.37, -14.04, 40.69)
CIE-LCHlch(80.37, 43.04, 109.04°)
OKLaboklab(82.59% -0.0389 0.0988)
OKLCHoklch(82.59% 0.106 111.5)
XYZxyz(49.1642, 57.3479, 26.8879)
Luminance0.5735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CD7A #7F7ACD
analogous
#CDA97A #C8CD7A #9FCD7A
triadic
#C8CD7A #7AC8CD #CD7AC8
tetradic
#C8CD7A #7ACDA9 #7F7ACD #CD7A9F
square
#C8CD7A #7ACDA9 #7F7ACD #CD7A9F
split-complementary
#C8CD7A #7A9FCD #A97ACD
monochromatic
#8F9538 #B6BC4E #C8CD7A #DADEA6 #EDEED3

Accessibility & contrast

On white

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

On black

12.47
#C8CD7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CD7A
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CD7A#FFFFFF#000000##000000
##C8CD7A1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8cd7a;
/* rgb */ color: rgb(200, 205, 122);
/* oklch */ color: oklch(82.6% 0.106 111.5);
Tailwind
colors: {
  custom: {
    50: '#dadca2',
    500: '#c8cd7a',
    950: '#000000',
  },
}
SCSS
$custom: #c8cd7a;
$custom-light: #dadca2;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cd7a",
  "rgb": {
    "r": 200,
    "g": 205,
    "b": 122
  },
  "hsl": {
    "h": 63.614,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8259,
    "c": 0.1062,
    "h": 111.5
  },
  "luminance": 0.57347
}

Semantic roles & 50–950 ramp

primary
#C8CD7A
secondary
#55509B
accent
#2DB935
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C8CD7A

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

Preview Lab → · Contrast checker → · Palette generator →

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