#C8BC42#C8BC42

#C8BC42 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.3% C 0.140 H 103.7°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#C8BC42
RGBrgb(200, 188, 66)
HSLhsl(55, 55%, 52%)
HSVhsv(55, 67%, 78%)
CMYKcmyk(0%, 6%, 67%, 21.6%)
CIE-LABlab(75.23, -10.02, 60.64)
CIE-LCHlch(75.23, 61.46, 99.38°)
OKLaboklab(78.3% -0.0331 0.1363)
OKLCHoklch(78.3% 0.14 103.7)
XYZxyz(42.7877, 48.6408, 12.2880)
Luminance0.4864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BC42 #424EC8
analogous
#C87942 #C8BC42 #91C842
triadic
#C8BC42 #42C8BC #BC42C8
tetradic
#C8BC42 #42C879 #424EC8 #C84291
square
#C8BC42 #42C879 #424EC8 #C84291
split-complementary
#C8BC42 #4291C8 #7942C8
monochromatic
#6F6820 #9F952E #C8BC42 #D6CD71 #E4DEA1

Accessibility & contrast

On white

1.96
#C8BC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#C8BC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BC42
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BC42#FFFFFF#000000##000000
##C8BC421.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB631
Deuteranopia (green-blind)
#D0BC4A
Tritanopia (blue-blind)
#D7AFA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c8bc42;
/* rgb */ color: rgb(200, 188, 66);
/* oklch */ color: oklch(78.3% 0.140 103.7);
Tailwind
colors: {
  custom: {
    50: '#dccf7d',
    500: '#c8bc42',
    950: '#000000',
  },
}
SCSS
$custom: #c8bc42;
$custom-light: #dccf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bc42",
  "rgb": {
    "r": 200,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 54.627,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78301,
    "c": 0.14022,
    "h": 103.7
  },
  "luminance": 0.48639
}

Semantic roles & 50–950 ramp

primary
#C8BC42
secondary
#969BD0
accent
#57DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8BC42

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

Preview Lab → · Contrast checker → · Palette generator →

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