#C8BA5B#C8BA5B

#C8BA5B is a light, moderate yellow. Relative luminance 0.482; OKLCH L 78.1% C 0.118 H 101.0°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#C8BA5B
RGBrgb(200, 186, 91)
HSLhsl(52, 50%, 57%)
HSVhsv(52, 55%, 78%)
CMYKcmyk(0%, 7%, 54.5%, 21.6%)
CIE-LABlab(74.92, -7.27, 49.26)
CIE-LCHlch(74.92, 49.79, 98.40°)
OKLaboklab(78.13% -0.0225 0.1154)
OKLCHoklch(78.13% 0.118 101)
XYZxyz(43.2681, 48.1541, 16.9110)
Luminance0.4815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA5B #5B69C8
analogous
#C8845B #C8BA5B #9FC85B
triadic
#C8BA5B #5BC8BA #BA5BC8
tetradic
#C8BA5B #5BC884 #5B69C8 #C85B9F
square
#C8BA5B #5BC884 #5B69C8 #C85B9F
split-complementary
#C8BA5B #5B9FC8 #845BC8
monochromatic
#7E732A #AC9D3A #C8BA5B #D7CD89 #E7E1B7

Accessibility & contrast

On white

1.98
#C8BA5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#C8BA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA5B
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA5B#FFFFFF#000000##000000
##C8BA5B1.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B552
Deuteranopia (green-blind)
#CDBB5F
Tritanopia (blue-blind)
#D5AFA5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8ba5b;
/* rgb */ color: rgb(200, 186, 91);
/* oklch */ color: oklch(78.1% 0.118 101.0);
Tailwind
colors: {
  custom: {
    50: '#dbce8c',
    500: '#c8ba5b',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba5b;
$custom-light: #dbce8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba5b",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 91
  },
  "hsl": {
    "h": 52.294,
    "s": 49.772,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78131,
    "c": 0.11754,
    "h": 101
  },
  "luminance": 0.48153
}

Semantic roles & 50–950 ramp

primary
#C8BA5B
secondary
#A9AFD6
accent
#60D94F
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8BA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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