#C8BB51#C8BB51

#C8BB51 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.2% C 0.128 H 102.4°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#C8BB51
RGBrgb(200, 187, 81)
HSLhsl(53, 52%, 55%)
HSVhsv(53, 60%, 78%)
CMYKcmyk(0%, 6.5%, 59.5%, 21.6%)
CIE-LABlab(75.09, -8.55, 54.08)
CIE-LCHlch(75.09, 54.75, 98.98°)
OKLaboklab(78.23% -0.0273 0.1246)
OKLCHoklch(78.23% 0.128 102.4)
XYZxyz(43.0765, 48.4157, 14.8591)
Luminance0.4841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BB51 #515EC8
analogous
#C87F51 #C8BB51 #9AC851
triadic
#C8BB51 #51C8BB #BB51C8
tetradic
#C8BB51 #51C87F #515EC8 #C8519A
square
#C8BB51 #51C87F #515EC8 #C8519A
split-complementary
#C8BB51 #519AC8 #7F51C8
monochromatic
#797026 #A79B35 #C8BB51 #D7CD80 #E5DFAE

Accessibility & contrast

On white

1.97
#C8BB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#C8BB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BB51
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BB51#FFFFFF#000000##000000
##C8BB511.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB646
Deuteranopia (green-blind)
#CFBB57
Tritanopia (blue-blind)
#D6AFA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c8bb51;
/* rgb */ color: rgb(200, 187, 81);
/* oklch */ color: oklch(78.2% 0.128 102.4);
Tailwind
colors: {
  custom: {
    50: '#dbcf86',
    500: '#c8bb51',
    950: '#000000',
  },
}
SCSS
$custom: #c8bb51;
$custom-light: #dbcf86;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bb51",
  "rgb": {
    "r": 200,
    "g": 187,
    "b": 81
  },
  "hsl": {
    "h": 53.445,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78229,
    "c": 0.1275,
    "h": 102.4
  },
  "luminance": 0.48414
}

Semantic roles & 50–950 ramp

primary
#C8BB51
secondary
#A1A7D3
accent
#5CDB4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8BB51

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

Preview Lab → · Contrast checker → · Palette generator →

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