#C8D398#C8D398

#C8D398 is a very light, moderate yellow-green. Relative luminance 0.611; OKLCH L 84.4% C 0.079 H 116.7°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#C8D398
RGBrgb(200, 211, 152)
HSLhsl(71, 40%, 71%)
HSVhsv(71, 28%, 83%)
CMYKcmyk(5.2%, 0%, 28%, 17.3%)
CIE-LABlab(82.45, -13.38, 28.05)
CIE-LCHlch(82.45, 31.08, 115.51°)
OKLaboklab(84.4% -0.0354 0.0705)
OKLCHoklch(84.4% 0.079 116.7)
XYZxyz(52.7809, 61.1352, 38.7194)
Luminance0.6113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D398 #A398D3
analogous
#D3C098 #C8D398 #AAD398
triadic
#C8D398 #98C8D3 #D398C8
tetradic
#C8D398 #98D3C0 #A398D3 #D398AA
square
#C8D398 #98D3C0 #A398D3 #D398AA
split-complementary
#C8D398 #98AAD3 #C098D3
monochromatic
#97A948 #B1C16D #C8D398 #DFE5C3 #F4F6EA

Accessibility & contrast

On white

1.59
#C8D398 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.23
#C8D398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D398
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D398#FFFFFF#000000##000000
##C8D3981.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCD94
Deuteranopia (green-blind)
#DACE9A
Tritanopia (blue-blind)
#CECDC3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c8d398;
/* rgb */ color: rgb(200, 211, 152);
/* oklch */ color: oklch(84.4% 0.079 116.7);
Tailwind
colors: {
  custom: {
    50: '#d9e0b6',
    500: '#c8d398',
    950: '#000000',
  },
}
SCSS
$custom: #c8d398;
$custom-light: #d9e0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d398",
  "rgb": {
    "r": 200,
    "g": 211,
    "b": 152
  },
  "hsl": {
    "h": 71.186,
    "s": 40.136,
    "l": 71.176
  },
  "oklch": {
    "l": 0.84397,
    "c": 0.07888,
    "h": 116.7
  },
  "luminance": 0.61135
}

Semantic roles & 50–950 ramp

primary
#C8D398
secondary
#7366A9
accent
#32B34A
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#141511
muted
#838481

Preview Lab

Preview with #C8D398

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

Preview Lab → · Contrast checker → · Palette generator →

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