#C7BB51#C7BB51

#C7BB51 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.1% C 0.128 H 102.9°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#C7BB51
RGBrgb(199, 187, 81)
HSLhsl(54, 51%, 55%)
HSVhsv(54, 59%, 78%)
CMYKcmyk(0%, 6%, 59.3%, 22%)
CIE-LABlab(75.00, -8.97, 53.96)
CIE-LCHlch(75.00, 54.70, 99.44°)
OKLaboklab(78.14% -0.0284 0.1243)
OKLCHoklch(78.14% 0.128 102.9)
XYZxyz(42.8102, 48.2784, 14.8466)
Luminance0.4828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BB51 #515DC7
analogous
#C78051 #C7BB51 #98C751
triadic
#C7BB51 #51C7BB #BB51C7
tetradic
#C7BB51 #51C780 #515DC7 #C75198
square
#C7BB51 #51C780 #515DC7 #C75198
split-complementary
#C7BB51 #5198C7 #8051C7
monochromatic
#776F26 #A69A35 #C7BB51 #D6CD7F #E5DFAE

Accessibility & contrast

On white

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

On black

10.66
#C7BB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BB51
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BB51#FFFFFF#000000##000000
##C7BB511.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB546
Deuteranopia (green-blind)
#CEBB57
Tritanopia (blue-blind)
#D5AFA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c7bb51;
/* rgb */ color: rgb(199, 187, 81);
/* oklch */ color: oklch(78.1% 0.128 102.9);
Tailwind
colors: {
  custom: {
    50: '#dbcf86',
    500: '#c7bb51',
    950: '#000000',
  },
}
SCSS
$custom: #c7bb51;
$custom-light: #dbcf86;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bb51",
  "rgb": {
    "r": 199,
    "g": 187,
    "b": 81
  },
  "hsl": {
    "h": 53.898,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.7814,
    "c": 0.12752,
    "h": 102.9
  },
  "luminance": 0.48277
}

Semantic roles & 50–950 ramp

primary
#C7BB51
secondary
#A1A6D3
accent
#5BDB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C7BB51

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

Preview Lab → · Contrast checker → · Palette generator →

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