#C8B861#C8B861

#C8B861 is a light, moderate yellow. Relative luminance 0.474; OKLCH L 77.8% C 0.110 H 99.1°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#C8B861
RGBrgb(200, 184, 97)
HSLhsl(51, 48%, 58%)
HSVhsv(51, 52%, 78%)
CMYKcmyk(0%, 8%, 51.5%, 21.6%)
CIE-LABlab(74.46, -5.73, 45.82)
CIE-LCHlch(74.46, 46.17, 97.12°)
OKLaboklab(77.79% -0.0174 0.1085)
OKLCHoklch(77.79% 0.11 99.1)
XYZxyz(43.1189, 47.4250, 18.1896)
Luminance0.4742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B861 #6171C8
analogous
#C88461 #C8B861 #A4C861
triadic
#C8B861 #61C8B8 #B861C8
tetradic
#C8B861 #61C884 #6171C8 #C861A4
square
#C8B861 #61C884 #6171C8 #C861A4
split-complementary
#C8B861 #61A4C8 #8461C8
monochromatic
#82742D #AF9D3D #C8B861 #D8CC8E #E8E1BC

Accessibility & contrast

On white

2.00
#C8B861 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#C8B861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B861
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B861#FFFFFF#000000##000000
##C8B8611.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B459
Deuteranopia (green-blind)
#CBBA65
Tritanopia (blue-blind)
#D5ADA4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8b861;
/* rgb */ color: rgb(200, 184, 97);
/* oklch */ color: oklch(77.8% 0.110 99.1);
Tailwind
colors: {
  custom: {
    50: '#dbcd90',
    500: '#c8b861',
    950: '#000000',
  },
}
SCSS
$custom: #c8b861;
$custom-light: #dbcd90;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b861",
  "rgb": {
    "r": 200,
    "g": 184,
    "b": 97
  },
  "hsl": {
    "h": 50.68,
    "s": 48.357,
    "l": 58.235
  },
  "oklch": {
    "l": 0.77788,
    "c": 0.10985,
    "h": 99.1
  },
  "luminance": 0.47423
}

Semantic roles & 50–950 ramp

primary
#C8B861
secondary
#AEB4D7
accent
#65D850
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130D
muted
#83827D

Preview Lab

Preview with #C8B861

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

Preview Lab → · Contrast checker → · Palette generator →

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