#C8B95F#C8B95F

#C8B95F is a light, moderate yellow. Relative luminance 0.478; OKLCH L 78.0% C 0.113 H 100.0°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#C8B95F
RGBrgb(200, 185, 95)
HSLhsl(51, 49%, 58%)
HSVhsv(51, 53%, 78%)
CMYKcmyk(0%, 7.5%, 52.5%, 21.6%)
CIE-LABlab(74.70, -6.42, 47.08)
CIE-LCHlch(74.70, 47.51, 97.77°)
OKLaboklab(77.97% -0.0196 0.111)
OKLCHoklch(77.97% 0.113 100)
XYZxyz(43.2353, 47.8051, 17.7741)
Luminance0.4780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B95F #5F6EC8
analogous
#C8855F #C8B95F #A2C85F
triadic
#C8B95F #5FC8B9 #B95FC8
tetradic
#C8B95F #5FC885 #5F6EC8 #C85FA2
square
#C8B95F #5FC885 #5F6EC8 #C85FA2
split-complementary
#C8B95F #5FA2C8 #855FC8
monochromatic
#80742C #AE9E3C #C8B95F #D8CD8D #E7E1BA

Accessibility & contrast

On white

1.99
#C8B95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#C8B95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B95F
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B95F#FFFFFF#000000##000000
##C8B95F1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B457
Deuteranopia (green-blind)
#CCBA63
Tritanopia (blue-blind)
#D5AEA4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8b95f;
/* rgb */ color: rgb(200, 185, 95);
/* oklch */ color: oklch(78.0% 0.113 100.0);
Tailwind
colors: {
  custom: {
    50: '#dbcd8f',
    500: '#c8b95f',
    950: '#000000',
  },
}
SCSS
$custom: #c8b95f;
$custom-light: #dbcd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b95f",
  "rgb": {
    "r": 200,
    "g": 185,
    "b": 95
  },
  "hsl": {
    "h": 51.429,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.77971,
    "c": 0.11275,
    "h": 100
  },
  "luminance": 0.47804
}

Semantic roles & 50–950 ramp

primary
#C8B95F
secondary
#ACB2D6
accent
#63D84F
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8B95F

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

Preview Lab → · Contrast checker → · Palette generator →

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