#C8BF98#C8BF98

#C8BF98 is a light, muted yellow. Relative luminance 0.518; OKLCH L 80.2% C 0.053 H 96.6°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#C8BF98
RGBrgb(200, 191, 152)
HSLhsl(49, 30%, 69%)
HSVhsv(49, 24%, 78%)
CMYKcmyk(0%, 4.5%, 24%, 21.6%)
CIE-LABlab(77.17, -3.08, 20.86)
CIE-LCHlch(77.17, 21.09, 98.40°)
OKLaboklab(80.21% -0.0061 0.0531)
OKLCHoklch(80.21% 0.053 96.6)
XYZxyz(48.1178, 51.8089, 37.1650)
Luminance0.5181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BF98 #98A1C8
analogous
#C8A798 #C8BF98 #B9C898
triadic
#C8BF98 #98C8BF #BF98C8
tetradic
#C8BF98 #98C8A7 #98A1C8 #C898B9
square
#C8BF98 #98C8A7 #98A1C8 #C898B9
split-complementary
#C8BF98 #98B9C8 #A798C8
monochromatic
#968950 #B3A670 #C8BF98 #DDD8C0 #F3F1E8

Accessibility & contrast

On white

1.85
#C8BF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#C8BF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BF98
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BF98#FFFFFF#000000##000000
##C8BF981.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7BD96
Deuteranopia (green-blind)
#CAC099
Tritanopia (blue-blind)
#D0B9B4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c8bf98;
/* rgb */ color: rgb(200, 191, 152);
/* oklch */ color: oklch(80.2% 0.053 96.6);
Tailwind
colors: {
  custom: {
    50: '#d9d2b6',
    500: '#c8bf98',
    950: '#000000',
  },
}
SCSS
$custom: #c8bf98;
$custom-light: #d9d2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bf98",
  "rgb": {
    "r": 200,
    "g": 191,
    "b": 152
  },
  "hsl": {
    "h": 48.75,
    "s": 30.38,
    "l": 69.02
  },
  "oklch": {
    "l": 0.8021,
    "c": 0.05343,
    "h": 96.6
  },
  "luminance": 0.51808
}

Semantic roles & 50–950 ramp

primary
#C8BF98
secondary
#68729D
accent
#51A93C
background
#FEFEFD
surface
#FBFBF8
border
#D4D4D1
text
#141411
muted
#838381

Preview Lab

Preview with #C8BF98

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

Preview Lab → · Contrast checker → · Palette generator →

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