#C8CB98#C8CB98

#C8CB98 is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.7% C 0.068 H 110.6°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#C8CB98
RGBrgb(200, 203, 152)
HSLhsl(64, 33%, 70%)
HSVhsv(64, 25%, 80%)
CMYKcmyk(1.5%, 0%, 25.1%, 20.4%)
CIE-LABlab(80.32, -9.31, 25.18)
CIE-LCHlch(80.32, 26.84, 110.30°)
OKLaboklab(82.71% -0.0239 0.0636)
OKLCHoklch(82.71% 0.068 110.6)
XYZxyz(50.8427, 57.2588, 38.0733)
Luminance0.5726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB98 #9B98CB
analogous
#CBB598 #C8CB98 #AFCB98
triadic
#C8CB98 #98C8CB #CB98C8
tetradic
#C8CB98 #98CBB5 #9B98CB #CB98AF
square
#C8CB98 #98CBB5 #9B98CB #CB98AF
split-complementary
#C8CB98 #98AFCB #B598CB
monochromatic
#969B4E #B2B66F #C8CB98 #DEE0C1 #F3F4E9

Accessibility & contrast

On white

1.69
#C8CB98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#C8CB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB98
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB98#FFFFFF#000000##000000
##C8CB981.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C695
Deuteranopia (green-blind)
#D3C89A
Tritanopia (blue-blind)
#CFC5BD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c8cb98;
/* rgb */ color: rgb(200, 203, 152);
/* oklch */ color: oklch(82.7% 0.068 110.6);
Tailwind
colors: {
  custom: {
    50: '#d9dab6',
    500: '#c8cb98',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb98;
$custom-light: #d9dab6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb98",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 152
  },
  "hsl": {
    "h": 63.529,
    "s": 32.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.82708,
    "c": 0.0679,
    "h": 110.6
  },
  "luminance": 0.57258
}

Semantic roles & 50–950 ramp

primary
#C8CB98
secondary
#6B67A0
accent
#3AAC41
background
#FEFEFD
surface
#FBFBF8
border
#D4D4D1
text
#141411
muted
#838381

Preview Lab

Preview with #C8CB98

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

Preview Lab → · Contrast checker → · Palette generator →

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