#C8BD51#C8BD51

#C8BD51 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.7% C 0.129 H 103.5°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#C8BD51
RGBrgb(200, 189, 81)
HSLhsl(54, 52%, 55%)
HSVhsv(54, 60%, 78%)
CMYKcmyk(0%, 5.5%, 59.5%, 21.6%)
CIE-LABlab(75.62, -9.58, 54.67)
CIE-LCHlch(75.62, 55.50, 99.94°)
OKLaboklab(78.65% -0.0302 0.1258)
OKLCHoklch(78.65% 0.129 103.5)
XYZxyz(43.5037, 49.2702, 15.0015)
Luminance0.4927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BD51 #515CC8
analogous
#C88251 #C8BD51 #97C851
triadic
#C8BD51 #51C8BD #BD51C8
tetradic
#C8BD51 #51C882 #515CC8 #C85197
square
#C8BD51 #51C882 #515CC8 #C85197
split-complementary
#C8BD51 #5197C8 #8251C8
monochromatic
#797126 #A79C35 #C8BD51 #D7CF80 #E5E0AE

Accessibility & contrast

On white

1.93
#C8BD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#C8BD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BD51
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BD51#FFFFFF#000000##000000
##C8BD511.001.9310.8510.85
#FFFFFF1.931.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB745
Deuteranopia (green-blind)
#D0BD57
Tritanopia (blue-blind)
#D6B1A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c8bd51;
/* rgb */ color: rgb(200, 189, 81);
/* oklch */ color: oklch(78.7% 0.129 103.5);
Tailwind
colors: {
  custom: {
    50: '#dbd086',
    500: '#c8bd51',
    950: '#000000',
  },
}
SCSS
$custom: #c8bd51;
$custom-light: #dbd086;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bd51",
  "rgb": {
    "r": 200,
    "g": 189,
    "b": 81
  },
  "hsl": {
    "h": 54.454,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78652,
    "c": 0.12938,
    "h": 103.5
  },
  "luminance": 0.49269
}

Semantic roles & 50–950 ramp

primary
#C8BD51
secondary
#A1A6D3
accent
#5ADB4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140B
muted
#83827C

Preview Lab

Preview with #C8BD51

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

Preview Lab → · Contrast checker → · Palette generator →

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