#C8BA70#C8BA70

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

Color values

HEX#C8BA70
RGBrgb(200, 186, 112)
HSLhsl(50, 44%, 61%)
HSVhsv(50, 44%, 78%)
CMYKcmyk(0%, 7%, 44%, 21.6%)
CIE-LABlab(75.18, -5.35, 39.20)
CIE-LCHlch(75.18, 39.57, 97.77°)
OKLaboklab(78.42% -0.0148 0.0949)
OKLCHoklch(78.42% 0.096 98.8)
XYZxyz(44.3040, 48.5685, 22.3670)
Luminance0.4857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA70 #707EC8
analogous
#C88E70 #C8BA70 #AAC870
triadic
#C8BA70 #70C8BA #BA70C8
tetradic
#C8BA70 #70C88E #707EC8 #C870AA
square
#C8BA70 #70C88E #707EC8 #C870AA
split-complementary
#C8BA70 #70AAC8 #8E70C8
monochromatic
#897C35 #B5A346 #C8BA70 #D9CF9C #EAE5C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8BA70#FFFFFF#000000##000000
##C8BA701.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)
#C7B66A
Deuteranopia (green-blind)
#CBBB73
Tritanopia (blue-blind)
#D4B0A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c8ba70;
/* rgb */ color: rgb(200, 186, 112);
/* oklch */ color: oklch(78.4% 0.096 98.8);
Tailwind
colors: {
  custom: {
    50: '#dace9a',
    500: '#c8ba70',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba70;
$custom-light: #dace9a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba70",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 112
  },
  "hsl": {
    "h": 50.455,
    "s": 44.444,
    "l": 61.176
  },
  "oklch": {
    "l": 0.78421,
    "c": 0.09604,
    "h": 98.8
  },
  "luminance": 0.48567
}

Semantic roles & 50–950 ramp

primary
#C8BA70
secondary
#B9BFDA
accent
#44B82E
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #C8BA70

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

Preview Lab → · Contrast checker → · Palette generator →

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