#C8BA5D#C8BA5D

#C8BA5D is a light, moderate yellow. Relative luminance 0.482; OKLCH L 78.2% C 0.116 H 100.9°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#C8BA5D
RGBrgb(200, 186, 93)
HSLhsl(52, 49%, 57%)
HSVhsv(52, 54%, 78%)
CMYKcmyk(0%, 7%, 53.5%, 21.6%)
CIE-LABlab(74.94, -7.11, 48.33)
CIE-LCHlch(74.94, 48.85, 98.37°)
OKLaboklab(78.16% -0.0218 0.1136)
OKLCHoklch(78.16% 0.116 100.9)
XYZxyz(43.3555, 48.1891, 17.3715)
Luminance0.4819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA5D #5D6BC8
analogous
#C8855D #C8BA5D #A0C85D
triadic
#C8BA5D #5DC8BA #BA5DC8
tetradic
#C8BA5D #5DC885 #5D6BC8 #C85DA0
square
#C8BA5D #5DC885 #5D6BC8 #C85DA0
split-complementary
#C8BA5D #5DA0C8 #855DC8
monochromatic
#7F742B #AD9E3B #C8BA5D #D8CD8B #E7E1B8

Accessibility & contrast

On white

1.97
#C8BA5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#C8BA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA5D
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA5D#FFFFFF#000000##000000
##C8BA5D1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ba5d;
/* rgb */ color: rgb(200, 186, 93);
/* oklch */ color: oklch(78.2% 0.116 100.9);
Tailwind
colors: {
  custom: {
    50: '#dbce8d',
    500: '#c8ba5d',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba5d;
$custom-light: #dbce8d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba5d",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 93
  },
  "hsl": {
    "h": 52.15,
    "s": 49.309,
    "l": 57.451
  },
  "oklch": {
    "l": 0.78156,
    "c": 0.11563,
    "h": 100.9
  },
  "luminance": 0.48187
}

Semantic roles & 50–950 ramp

primary
#C8BA5D
secondary
#ABB0D6
accent
#61D94F
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8BA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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