#C8B952#C8B952

#C8B952 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.8% C 0.125 H 101.1°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#C8B952
RGBrgb(200, 185, 82)
HSLhsl(52, 52%, 55%)
HSVhsv(52, 59%, 78%)
CMYKcmyk(0%, 7.5%, 59%, 21.6%)
CIE-LABlab(74.56, -7.44, 53.04)
CIE-LCHlch(74.56, 53.56, 97.99°)
OKLaboklab(77.82% -0.024 0.1225)
OKLCHoklch(77.82% 0.125 101.1)
XYZxyz(42.6929, 47.5882, 14.9176)
Luminance0.4759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B952 #5261C8
analogous
#C87E52 #C8B952 #9CC852
triadic
#C8B952 #52C8B9 #B952C8
tetradic
#C8B952 #52C87E #5261C8 #C8529C
square
#C8B952 #52C87E #5261C8 #C8529C
split-complementary
#C8B952 #529CC8 #7E52C8
monochromatic
#796F27 #A89935 #C8B952 #D7CC80 #E6DFAF

Accessibility & contrast

On white

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

On black

10.52
#C8B952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B952
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B952#FFFFFF#000000##000000
##C8B9521.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8b952;
/* rgb */ color: rgb(200, 185, 82);
/* oklch */ color: oklch(77.8% 0.125 101.1);
Tailwind
colors: {
  custom: {
    50: '#dbcd86',
    500: '#c8b952',
    950: '#000000',
  },
}
SCSS
$custom: #c8b952;
$custom-light: #dbcd86;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b952",
  "rgb": {
    "r": 200,
    "g": 185,
    "b": 82
  },
  "hsl": {
    "h": 52.373,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77818,
    "c": 0.12479,
    "h": 101.1
  },
  "luminance": 0.47586
}

Semantic roles & 50–950 ramp

primary
#C8B952
secondary
#A2A9D4
accent
#5FDB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B952

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

Preview Lab → · Contrast checker → · Palette generator →

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