#C8B862#C8B862

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

Color values

HEX#C8B862
RGBrgb(200, 184, 98)
HSLhsl(51, 48%, 58%)
HSVhsv(51, 51%, 78%)
CMYKcmyk(0%, 8%, 51%, 21.6%)
CIE-LABlab(74.47, -5.64, 45.34)
CIE-LCHlch(74.47, 45.69, 97.09°)
OKLaboklab(77.8% -0.017 0.1075)
OKLCHoklch(77.8% 0.109 99)
XYZxyz(43.1659, 47.4438, 18.4367)
Luminance0.4744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B862 #6272C8
analogous
#C88562 #C8B862 #A5C862
triadic
#C8B862 #62C8B8 #B862C8
tetradic
#C8B862 #62C885 #6272C8 #C862A5
square
#C8B862 #62C885 #6272C8 #C862A5
split-complementary
#C8B862 #62A5C8 #8562C8
monochromatic
#82752E #AF9D3D #C8B862 #D8CC8F #E8E1BD

Accessibility & contrast

On white

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

On black

10.49
#C8B862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B862
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B862#FFFFFF#000000##000000
##C8B8621.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8b862;
/* rgb */ color: rgb(200, 184, 98);
/* oklch */ color: oklch(77.8% 0.109 99.0);
Tailwind
colors: {
  custom: {
    50: '#dbcd91',
    500: '#c8b862',
    950: '#000000',
  },
}
SCSS
$custom: #c8b862;
$custom-light: #dbcd91;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b862",
  "rgb": {
    "r": 200,
    "g": 184,
    "b": 98
  },
  "hsl": {
    "h": 50.588,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.77801,
    "c": 0.10885,
    "h": 99
  },
  "luminance": 0.47442
}

Semantic roles & 50–950 ramp

primary
#C8B862
secondary
#AFB5D7
accent
#65D850
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #C8B862

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

Preview Lab → · Contrast checker → · Palette generator →

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