#C6BB51#C6BB51

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

Color values

HEX#C6BB51
RGBrgb(198, 187, 81)
HSLhsl(54, 51%, 55%)
HSVhsv(54, 59%, 78%)
CMYKcmyk(0%, 5.6%, 59.1%, 22.4%)
CIE-LABlab(74.91, -9.39, 53.84)
CIE-LCHlch(74.91, 54.65, 99.90°)
OKLaboklab(78.05% -0.0296 0.1241)
OKLCHoklch(78.05% 0.128 103.4)
XYZxyz(42.5457, 48.1420, 14.8342)
Luminance0.4814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6BB51 #515CC6
analogous
#C68151 #C6BB51 #97C651
triadic
#C6BB51 #51C6BB #BB51C6
tetradic
#C6BB51 #51C681 #515CC6 #C65197
square
#C6BB51 #51C681 #515CC6 #C65197
split-complementary
#C6BB51 #5197C6 #8151C6
monochromatic
#766F27 #A49A36 #C6BB51 #D5CD7F #E4DFAD

Accessibility & contrast

On white

1.98
#C6BB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#C6BB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6BB51
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6BB51#FFFFFF#000000##000000
##C6BB511.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6bb51;
/* rgb */ color: rgb(198, 187, 81);
/* oklch */ color: oklch(78.1% 0.128 103.4);
Tailwind
colors: {
  custom: {
    50: '#dacf86',
    500: '#c6bb51',
    950: '#000000',
  },
}
SCSS
$custom: #c6bb51;
$custom-light: #dacf86;
$custom-dark: #000000;
JSON
{
  "hex": "#c6bb51",
  "rgb": {
    "r": 198,
    "g": 187,
    "b": 81
  },
  "hsl": {
    "h": 54.359,
    "s": 50.649,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78051,
    "c": 0.12755,
    "h": 103.4
  },
  "luminance": 0.4814
}

Semantic roles & 50–950 ramp

primary
#C6BB51
secondary
#A1A5D2
accent
#5BDA4E
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C6BB51

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

Preview Lab → · Contrast checker → · Palette generator →

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