#C8BB5A#C8BB5A

#C8BB5A is a light, moderate yellow. Relative luminance 0.486; OKLCH L 78.3% C 0.119 H 101.8°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#C8BB5A
RGBrgb(200, 187, 90)
HSLhsl(53, 50%, 57%)
HSVhsv(53, 55%, 78%)
CMYKcmyk(0%, 6.5%, 55%, 21.6%)
CIE-LABlab(75.18, -7.87, 50.02)
CIE-LCHlch(75.18, 50.64, 98.94°)
OKLaboklab(78.33% -0.0243 0.1169)
OKLCHoklch(78.33% 0.119 101.8)
XYZxyz(43.4366, 48.5598, 16.7558)
Luminance0.4856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BB5A #5A67C8
analogous
#C8845A #C8BB5A #9EC85A
triadic
#C8BB5A #5AC8BB #BB5AC8
tetradic
#C8BB5A #5AC884 #5A67C8 #C85A9E
square
#C8BB5A #5AC884 #5A67C8 #C85A9E
split-complementary
#C8BB5A #5A9EC8 #845AC8
monochromatic
#7E742A #AC9E39 #C8BB5A #D7CE88 #E7E1B6

Accessibility & contrast

On white

1.96
#C8BB5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#C8BB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BB5A
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BB5A#FFFFFF#000000##000000
##C8BB5A1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB651
Deuteranopia (green-blind)
#CEBC5F
Tritanopia (blue-blind)
#D5B0A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c8bb5a;
/* rgb */ color: rgb(200, 187, 90);
/* oklch */ color: oklch(78.3% 0.119 101.8);
Tailwind
colors: {
  custom: {
    50: '#dbcf8b',
    500: '#c8bb5a',
    950: '#000000',
  },
}
SCSS
$custom: #c8bb5a;
$custom-light: #dbcf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bb5a",
  "rgb": {
    "r": 200,
    "g": 187,
    "b": 90
  },
  "hsl": {
    "h": 52.909,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.7833,
    "c": 0.11942,
    "h": 101.8
  },
  "luminance": 0.48558
}

Semantic roles & 50–950 ramp

primary
#C8BB5A
secondary
#A8AED5
accent
#5FDA4E
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8BB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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