#C8BA7D#C8BA7D

#C8BA7D is a light, moderate yellow. Relative luminance 0.489; OKLCH L 78.6% C 0.081 H 96.8°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#C8BA7D
RGBrgb(200, 186, 125)
HSLhsl(49, 41%, 64%)
HSVhsv(49, 38%, 78%)
CMYKcmyk(0%, 7%, 37.5%, 21.6%)
CIE-LABlab(75.38, -3.93, 32.74)
CIE-LCHlch(75.38, 32.98, 96.85°)
OKLaboklab(78.64% -0.0096 0.0808)
OKLCHoklch(78.64% 0.081 96.8)
XYZxyz(45.0808, 48.8792, 26.4580)
Luminance0.4888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA7D #7D8BC8
analogous
#C8947D #C8BA7D #B0C87D
triadic
#C8BA7D #7DC8BA #BA7DC8
tetradic
#C8BA7D #7DC894 #7D8BC8 #C87DB0
square
#C8BA7D #7DC894 #7D8BC8 #C87DB0
split-complementary
#C8BA7D #7DB0C8 #947DC8
monochromatic
#8E7F3C #B6A352 #C8BA7D #DAD1A8 #ECE8D3

Accessibility & contrast

On white

1.95
#C8BA7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#C8BA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA7D
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA7D#FFFFFF#000000##000000
##C8BA7D1.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B779
Deuteranopia (green-blind)
#CABC7F
Tritanopia (blue-blind)
#D3B1AA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c8ba7d;
/* rgb */ color: rgb(200, 186, 125);
/* oklch */ color: oklch(78.6% 0.081 96.8);
Tailwind
colors: {
  custom: {
    50: '#dacea3',
    500: '#c8ba7d',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba7d;
$custom-light: #dacea3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba7d",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 125
  },
  "hsl": {
    "h": 48.8,
    "s": 40.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.78638,
    "c": 0.08133,
    "h": 96.8
  },
  "luminance": 0.48878
}

Semantic roles & 50–950 ramp

primary
#C8BA7D
secondary
#C3C8DE
accent
#4AB432
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #C8BA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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