#C8CD98#C8CD98

#C8CD98 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.071 H 112.3°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#C8CD98
RGBrgb(200, 205, 152)
HSLhsl(66, 35%, 70%)
HSVhsv(66, 26%, 80%)
CMYKcmyk(2.4%, 0%, 25.9%, 19.6%)
CIE-LABlab(80.86, -10.34, 25.89)
CIE-LCHlch(80.86, 27.88, 111.76°)
OKLaboklab(83.13% -0.0268 0.0653)
OKLCHoklch(83.13% 0.071 112.3)
XYZxyz(51.3181, 58.2095, 38.2318)
Luminance0.5821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CD98 #9D98CD
analogous
#CDB798 #C8CD98 #AECD98
triadic
#C8CD98 #98C8CD #CD98C8
tetradic
#C8CD98 #98CDB7 #9D98CD #CD98AE
square
#C8CD98 #98CDB7 #9D98CD #CD98AE
split-complementary
#C8CD98 #98AECD #B798CD
monochromatic
#969E4D #B2B96F #C8CD98 #DEE1C1 #F4F5EA

Accessibility & contrast

On white

1.66
#C8CD98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#C8CD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CD98
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CD98#FFFFFF#000000##000000
##C8CD981.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C895
Deuteranopia (green-blind)
#D5C99A
Tritanopia (blue-blind)
#CFC7BF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c8cd98;
/* rgb */ color: rgb(200, 205, 152);
/* oklch */ color: oklch(83.1% 0.071 112.3);
Tailwind
colors: {
  custom: {
    50: '#d9dcb6',
    500: '#c8cd98',
    950: '#000000',
  },
}
SCSS
$custom: #c8cd98;
$custom-light: #d9dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cd98",
  "rgb": {
    "r": 200,
    "g": 205,
    "b": 152
  },
  "hsl": {
    "h": 65.66,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.83129,
    "c": 0.07058,
    "h": 112.3
  },
  "luminance": 0.58209
}

Semantic roles & 50–950 ramp

primary
#C8CD98
secondary
#6D67A2
accent
#38AD43
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#141511
muted
#838481

Preview Lab

Preview with #C8CD98

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

Preview Lab → · Contrast checker → · Palette generator →

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