#C8CA98#C8CA98

#C8CA98 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.5% C 0.067 H 109.7°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#C8CA98
RGBrgb(200, 202, 152)
HSLhsl(62, 32%, 69%)
HSVhsv(62, 25%, 79%)
CMYKcmyk(1%, 0%, 24.8%, 20.8%)
CIE-LABlab(80.06, -8.80, 24.82)
CIE-LCHlch(80.06, 26.33, 109.52°)
OKLaboklab(82.5% -0.0224 0.0627)
OKLCHoklch(82.5% 0.067 109.7)
XYZxyz(50.6073, 56.7880, 37.9949)
Luminance0.5679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA98 #9A98CA
analogous
#CAB398 #C8CA98 #AFCA98
triadic
#C8CA98 #98C8CA #CA98C8
tetradic
#C8CA98 #98CAB3 #9A98CA #CA98AF
square
#C8CA98 #98CAB3 #9A98CA #CA98AF
split-complementary
#C8CA98 #98AFCA #B398CA
monochromatic
#96994F #B2B570 #C8CA98 #DEDFC0 #F3F4E9

Accessibility & contrast

On white

1.70
#C8CA98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#C8CA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA98
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA98#FFFFFF#000000##000000
##C8CA981.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C695
Deuteranopia (green-blind)
#D3C79A
Tritanopia (blue-blind)
#CFC4BD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c8ca98;
/* rgb */ color: rgb(200, 202, 152);
/* oklch */ color: oklch(82.5% 0.067 109.7);
Tailwind
colors: {
  custom: {
    50: '#d9dab6',
    500: '#c8ca98',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca98;
$custom-light: #d9dab6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca98",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 152
  },
  "hsl": {
    "h": 62.4,
    "s": 32.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.82498,
    "c": 0.06658,
    "h": 109.7
  },
  "luminance": 0.56787
}

Semantic roles & 50–950 ramp

primary
#C8CA98
secondary
#6A679F
accent
#3BAB3F
background
#FEFEFD
surface
#FBFBF8
border
#D4D4D1
text
#141411
muted
#838381

Preview Lab

Preview with #C8CA98

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

Preview Lab → · Contrast checker → · Palette generator →

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