#C8BA5A#C8BA5A

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

Color values

HEX#C8BA5A
RGBrgb(200, 186, 90)
HSLhsl(52, 50%, 57%)
HSVhsv(52, 55%, 78%)
CMYKcmyk(0%, 7%, 55%, 21.6%)
CIE-LABlab(74.91, -7.35, 49.72)
CIE-LCHlch(74.91, 50.26, 98.41°)
OKLaboklab(78.12% -0.0228 0.1163)
OKLCHoklch(78.12% 0.118 101.1)
XYZxyz(43.2252, 48.1370, 16.6853)
Luminance0.4814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA5A #5A68C8
analogous
#C8835A #C8BA5A #9FC85A
triadic
#C8BA5A #5AC8BA #BA5AC8
tetradic
#C8BA5A #5AC883 #5A68C8 #C85A9F
square
#C8BA5A #5AC883 #5A68C8 #C85A9F
split-complementary
#C8BA5A #5A9FC8 #835AC8
monochromatic
#7E732A #AC9D39 #C8BA5A #D7CD88 #E7E0B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8BA5A#FFFFFF#000000##000000
##C8BA5A1.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)
#C9B551
Deuteranopia (green-blind)
#CDBB5F
Tritanopia (blue-blind)
#D6AFA4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8ba5a;
/* rgb */ color: rgb(200, 186, 90);
/* oklch */ color: oklch(78.1% 0.118 101.1);
Tailwind
colors: {
  custom: {
    50: '#dbce8b',
    500: '#c8ba5a',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba5a;
$custom-light: #dbce8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba5a",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 90
  },
  "hsl": {
    "h": 52.364,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78119,
    "c": 0.11848,
    "h": 101.1
  },
  "luminance": 0.48135
}

Semantic roles & 50–950 ramp

primary
#C8BA5A
secondary
#A8AED5
accent
#60DA4E
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8BA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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