#C8D97A#C8D97A

#C8D97A is a very light, vivid yellow-green. Relative luminance 0.633; OKLCH L 85.2% C 0.122 H 117.4°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#C8D97A
RGBrgb(200, 217, 122)
HSLhsl(71, 56%, 66%)
HSVhsv(71, 44%, 85%)
CMYKcmyk(7.8%, 0%, 43.8%, 14.9%)
CIE-LABlab(83.61, -20.01, 44.73)
CIE-LCHlch(83.61, 49.00, 114.11°)
OKLaboklab(85.17% -0.0559 0.1079)
OKLCHoklch(85.17% 0.122 117.4)
XYZxyz(52.1455, 63.3106, 27.8817)
Luminance0.6331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D97A #8B7AD9
analogous
#D9BB7A #C8D97A #99D97A
triadic
#C8D97A #7AC8D9 #D97AC8
tetradic
#C8D97A #7AD9BB #8B7AD9 #D97A99
square
#C8D97A #7AD9BB #8B7AD9 #D97A99
split-complementary
#C8D97A #7A99D9 #BB7AD9
monochromatic
#93A830 #B4CB4A #C8D97A #DCE7AA #EFF4D9

Accessibility & contrast

On white

1.54
#C8D97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#C8D97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D97A
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D97A#FFFFFF#000000##000000
##C8D97A1.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D072
Deuteranopia (green-blind)
#E3D17F
Tritanopia (blue-blind)
#D1D0C2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c8d97a;
/* rgb */ color: rgb(200, 217, 122);
/* oklch */ color: oklch(85.2% 0.122 117.4);
Tailwind
colors: {
  custom: {
    50: '#dae4a2',
    500: '#c8d97a',
    950: '#000000',
  },
}
SCSS
$custom: #c8d97a;
$custom-light: #dae4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d97a",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 122
  },
  "hsl": {
    "h": 70.737,
    "s": 55.556,
    "l": 66.471
  },
  "oklch": {
    "l": 0.85168,
    "c": 0.12152,
    "h": 117.4
  },
  "luminance": 0.6331
}

Semantic roles & 50–950 ramp

primary
#C8D97A
secondary
#5D4CAC
accent
#22C33F
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C8D97A

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

Preview Lab → · Contrast checker → · Palette generator →

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