#C8CF98#C8CF98

#C8CF98 is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.5% C 0.073 H 113.9°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#C8CF98
RGBrgb(200, 207, 152)
HSLhsl(68, 36%, 70%)
HSVhsv(68, 27%, 81%)
CMYKcmyk(3.4%, 0%, 26.6%, 18.8%)
CIE-LABlab(81.39, -11.36, 26.61)
CIE-LCHlch(81.39, 28.93, 113.11°)
OKLaboklab(83.55% -0.0297 0.067)
OKLCHoklch(83.55% 0.073 113.9)
XYZxyz(51.7995, 59.1724, 38.3923)
Luminance0.5917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CF98 #9F98CF
analogous
#CFBA98 #C8CF98 #ACCF98
triadic
#C8CF98 #98C8CF #CF98C8
tetradic
#C8CF98 #98CFBA #9F98CF #CF98AC
square
#C8CF98 #98CFBA #9F98CF #CF98AC
split-complementary
#C8CF98 #98ACCF #BA98CF
monochromatic
#96A14B #B2BC6E #C8CF98 #DEE2C2 #F4F5EA

Accessibility & contrast

On white

1.64
#C8CF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#C8CF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CF98
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CF98#FFFFFF#000000##000000
##C8CF981.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7CA94
Deuteranopia (green-blind)
#D7CB9A
Tritanopia (blue-blind)
#CFC9C0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c8cf98;
/* rgb */ color: rgb(200, 207, 152);
/* oklch */ color: oklch(83.5% 0.073 113.9);
Tailwind
colors: {
  custom: {
    50: '#d9ddb6',
    500: '#c8cf98',
    950: '#000000',
  },
}
SCSS
$custom: #c8cf98;
$custom-light: #d9ddb6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cf98",
  "rgb": {
    "r": 200,
    "g": 207,
    "b": 152
  },
  "hsl": {
    "h": 67.636,
    "s": 36.424,
    "l": 70.392
  },
  "oklch": {
    "l": 0.8355,
    "c": 0.07331,
    "h": 113.9
  },
  "luminance": 0.59172
}

Semantic roles & 50–950 ramp

primary
#C8CF98
secondary
#6F67A5
accent
#36AF46
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#141511
muted
#838481

Preview Lab

Preview with #C8CF98

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

Preview Lab → · Contrast checker → · Palette generator →

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