#C6BB52#C6BB52

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

Color values

HEX#C6BB52
RGBrgb(198, 187, 82)
HSLhsl(54, 50%, 55%)
HSVhsv(54, 59%, 78%)
CMYKcmyk(0%, 5.6%, 58.6%, 22.4%)
CIE-LABlab(74.92, -9.32, 53.40)
CIE-LCHlch(74.92, 54.20, 99.90°)
OKLaboklab(78.06% -0.0292 0.1233)
OKLCHoklch(78.06% 0.127 103.3)
XYZxyz(42.5835, 48.1571, 15.0332)
Luminance0.4816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6BB52 #525DC6
analogous
#C68152 #C6BB52 #97C652
triadic
#C6BB52 #52C6BB #BB52C6
tetradic
#C6BB52 #52C681 #525DC6 #C65297
square
#C6BB52 #52C681 #525DC6 #C65297
split-complementary
#C6BB52 #5297C6 #8152C6
monochromatic
#776F27 #A59A36 #C6BB52 #D5CD80 #E4DFAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6BB52#FFFFFF#000000##000000
##C6BB521.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)
#CAB547
Deuteranopia (green-blind)
#CEBB57
Tritanopia (blue-blind)
#D4AFA4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c6bb52;
/* rgb */ color: rgb(198, 187, 82);
/* oklch */ color: oklch(78.1% 0.127 103.3);
Tailwind
colors: {
  custom: {
    50: '#dacf86',
    500: '#c6bb52',
    950: '#000000',
  },
}
SCSS
$custom: #c6bb52;
$custom-light: #dacf86;
$custom-dark: #000000;
JSON
{
  "hex": "#c6bb52",
  "rgb": {
    "r": 198,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 54.31,
    "s": 50.435,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78062,
    "c": 0.12669,
    "h": 103.3
  },
  "luminance": 0.48156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C6BB52

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

Preview Lab → · Contrast checker → · Palette generator →

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