#C8B852#C8B852

#C8B852 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.6% C 0.124 H 100.5°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#C8B852
RGBrgb(200, 184, 82)
HSLhsl(52, 52%, 55%)
HSVhsv(52, 59%, 78%)
CMYKcmyk(0%, 8%, 59%, 21.6%)
CIE-LABlab(74.30, -6.92, 52.74)
CIE-LCHlch(74.30, 53.20, 97.48°)
OKLaboklab(77.61% -0.0225 0.1218)
OKLCHoklch(77.61% 0.124 100.5)
XYZxyz(42.4845, 47.1712, 14.8481)
Luminance0.4717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B852 #5262C8
analogous
#C87D52 #C8B852 #9DC852
triadic
#C8B852 #52C8B8 #B852C8
tetradic
#C8B852 #52C87D #5262C8 #C8529D
square
#C8B852 #52C87D #5262C8 #C8529D
split-complementary
#C8B852 #529DC8 #7D52C8
monochromatic
#796E27 #A89835 #C8B852 #D7CB80 #E6DEAF

Accessibility & contrast

On white

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

On black

10.43
#C8B852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B852
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B852#FFFFFF#000000##000000
##C8B8521.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B347
Deuteranopia (green-blind)
#CCBA57
Tritanopia (blue-blind)
#D6ACA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8b852;
/* rgb */ color: rgb(200, 184, 82);
/* oklch */ color: oklch(77.6% 0.124 100.5);
Tailwind
colors: {
  custom: {
    50: '#dbcd86',
    500: '#c8b852',
    950: '#000000',
  },
}
SCSS
$custom: #c8b852;
$custom-light: #dbcd86;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b852",
  "rgb": {
    "r": 200,
    "g": 184,
    "b": 82
  },
  "hsl": {
    "h": 51.864,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77607,
    "c": 0.12389,
    "h": 100.5
  },
  "luminance": 0.4717
}

Semantic roles & 50–950 ramp

primary
#C8B852
secondary
#A2A9D4
accent
#60DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B852

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

Preview Lab → · Contrast checker → · Palette generator →

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