#C8BF51#C8BF51

#C8BF51 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.1% C 0.131 H 104.6°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#C8BF51
RGBrgb(200, 191, 81)
HSLhsl(55, 52%, 55%)
HSVhsv(55, 60%, 78%)
CMYKcmyk(0%, 4.5%, 59.5%, 21.6%)
CIE-LABlab(76.15, -10.61, 55.26)
CIE-LCHlch(76.15, 56.27, 100.87°)
OKLaboklab(79.08% -0.0331 0.1271)
OKLCHoklch(79.08% 0.131 104.6)
XYZxyz(43.9369, 50.1366, 15.1459)
Luminance0.5013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BF51 #515AC8
analogous
#C88351 #C8BF51 #96C851
triadic
#C8BF51 #51C8BF #BF51C8
tetradic
#C8BF51 #51C883 #515AC8 #C85196
square
#C8BF51 #51C883 #515AC8 #C85196
split-complementary
#C8BF51 #5196C8 #8351C8
monochromatic
#797226 #A79E35 #C8BF51 #D7D080 #E5E1AE

Accessibility & contrast

On white

1.90
#C8BF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#C8BF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BF51
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BF51#FFFFFF#000000##000000
##C8BF511.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB945
Deuteranopia (green-blind)
#D2BE57
Tritanopia (blue-blind)
#D6B3A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c8bf51;
/* rgb */ color: rgb(200, 191, 81);
/* oklch */ color: oklch(79.1% 0.131 104.6);
Tailwind
colors: {
  custom: {
    50: '#dbd286',
    500: '#c8bf51',
    950: '#000000',
  },
}
SCSS
$custom: #c8bf51;
$custom-light: #dbd286;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bf51",
  "rgb": {
    "r": 200,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 55.462,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79077,
    "c": 0.13131,
    "h": 104.6
  },
  "luminance": 0.50135
}

Semantic roles & 50–950 ramp

primary
#C8BF51
secondary
#3C4181
accent
#57DB4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8BF51

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

Preview Lab → · Contrast checker → · Palette generator →

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