#C8B858#C8B858

#C8B858 is a light, moderate yellow. Relative luminance 0.473; OKLCH L 77.7% C 0.118 H 100.0°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#C8B858
RGBrgb(200, 184, 88)
HSLhsl(51, 50%, 56%)
HSVhsv(51, 56%, 78%)
CMYKcmyk(0%, 8%, 56%, 21.6%)
CIE-LABlab(74.36, -6.47, 50.03)
CIE-LCHlch(74.36, 50.44, 97.37°)
OKLaboklab(77.68% -0.0205 0.1167)
OKLCHoklch(77.68% 0.119 100)
XYZxyz(42.7229, 47.2666, 16.1036)
Luminance0.4727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B858 #5868C8
analogous
#C88058 #C8B858 #A0C858
triadic
#C8B858 #58C8B8 #B858C8
tetradic
#C8B858 #58C880 #5868C8 #C858A0
square
#C8B858 #58C880 #5868C8 #C858A0
split-complementary
#C8B858 #58A0C8 #8058C8
monochromatic
#7D7129 #AB9A38 #C8B858 #D7CC86 #E6DFB4

Accessibility & contrast

On white

2.01
#C8B858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#C8B858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B858
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B858#FFFFFF#000000##000000
##C8B8581.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34F
Deuteranopia (green-blind)
#CCBA5D
Tritanopia (blue-blind)
#D6ADA3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8b858;
/* rgb */ color: rgb(200, 184, 88);
/* oklch */ color: oklch(77.7% 0.118 100.0);
Tailwind
colors: {
  custom: {
    50: '#dbcd8a',
    500: '#c8b858',
    950: '#000000',
  },
}
SCSS
$custom: #c8b858;
$custom-light: #dbcd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b858",
  "rgb": {
    "r": 200,
    "g": 184,
    "b": 88
  },
  "hsl": {
    "h": 51.429,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.77675,
    "c": 0.1185,
    "h": 100
  },
  "luminance": 0.47265
}

Semantic roles & 50–950 ramp

primary
#C8B858
secondary
#A7ADD5
accent
#62DA4E
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8B858

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

Preview Lab → · Contrast checker → · Palette generator →

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