#C8D97B#C8D97B

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

Color values

HEX#C8D97B
RGBrgb(200, 217, 123)
HSLhsl(71, 55%, 67%)
HSVhsv(71, 43%, 85%)
CMYKcmyk(7.8%, 0%, 43.3%, 14.9%)
CIE-LABlab(83.62, -19.91, 44.26)
CIE-LCHlch(83.62, 48.53, 114.22°)
OKLaboklab(85.18% -0.0555 0.1069)
OKLCHoklch(85.18% 0.12 117.4)
XYZxyz(52.2078, 63.3355, 28.2097)
Luminance0.6333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D97B #8C7BD9
analogous
#D9BB7B #C8D97B #99D97B
triadic
#C8D97B #7BC8D9 #D97BC8
tetradic
#C8D97B #7BD9BB #8C7BD9 #D97B99
square
#C8D97B #7BD9BB #8C7BD9 #D97B99
split-complementary
#C8D97B #7B99D9 #BB7BD9
monochromatic
#93A931 #B4CB4B #C8D97B #DCE7AB #F0F4DA

Accessibility & contrast

On white

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

On black

13.67
#C8D97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D97B
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D97B#FFFFFF#000000##000000
##C8D97B1.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D073
Deuteranopia (green-blind)
#E2D180
Tritanopia (blue-blind)
#D1D0C3
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c8d97b;
/* rgb */ color: rgb(200, 217, 123);
/* oklch */ color: oklch(85.2% 0.120 117.4);
Tailwind
colors: {
  custom: {
    50: '#dae4a3',
    500: '#c8d97b',
    950: '#000000',
  },
}
SCSS
$custom: #c8d97b;
$custom-light: #dae4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d97b",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 123
  },
  "hsl": {
    "h": 70.851,
    "s": 55.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85182,
    "c": 0.12046,
    "h": 117.4
  },
  "luminance": 0.63335
}

Semantic roles & 50–950 ramp

primary
#C8D97B
secondary
#5D4CAC
accent
#23C340
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C8D97B

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

Preview Lab → · Contrast checker → · Palette generator →

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