#C8BA5F#C8BA5F

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

Color values

HEX#C8BA5F
RGBrgb(200, 186, 95)
HSLhsl(52, 49%, 58%)
HSVhsv(52, 53%, 78%)
CMYKcmyk(0%, 7%, 52.5%, 21.6%)
CIE-LABlab(74.97, -6.94, 47.39)
CIE-LCHlch(74.97, 47.90, 98.33°)
OKLaboklab(78.18% -0.0211 0.1117)
OKLCHoklch(78.18% 0.114 100.7)
XYZxyz(43.4453, 48.2250, 17.8441)
Luminance0.4822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA5F #5F6DC8
analogous
#C8855F #C8BA5F #A1C85F
triadic
#C8BA5F #5FC8BA #BA5FC8
tetradic
#C8BA5F #5FC885 #5F6DC8 #C85FA1
square
#C8BA5F #5FC885 #5F6DC8 #C85FA1
split-complementary
#C8BA5F #5FA1C8 #855FC8
monochromatic
#80752C #AE9F3C #C8BA5F #D8CE8D #E7E1BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8BA5F#FFFFFF#000000##000000
##C8BA5F1.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)
#C9B557
Deuteranopia (green-blind)
#CDBB63
Tritanopia (blue-blind)
#D5AFA5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c8ba5f;
/* rgb */ color: rgb(200, 186, 95);
/* oklch */ color: oklch(78.2% 0.114 100.7);
Tailwind
colors: {
  custom: {
    50: '#dbce8f',
    500: '#c8ba5f',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba5f;
$custom-light: #dbce8f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba5f",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 95
  },
  "hsl": {
    "h": 52,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.78181,
    "c": 0.11369,
    "h": 100.7
  },
  "luminance": 0.48223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8BA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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