#C6BB3A#C6BB3A

#C6BB3A is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.8% C 0.145 H 104.4°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#C6BB3A
RGBrgb(198, 187, 58)
HSLhsl(55, 55%, 50%)
HSVhsv(55, 71%, 78%)
CMYKcmyk(0%, 5.6%, 70.7%, 22.4%)
CIE-LABlab(74.73, -10.78, 63.19)
CIE-LCHlch(74.73, 64.10, 99.68°)
OKLaboklab(77.85% -0.036 0.1403)
OKLCHoklch(77.85% 0.145 104.4)
XYZxyz(41.8245, 47.8535, 11.0357)
Luminance0.4785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6BB3A #3A45C6
analogous
#C6753A #C6BB3A #8BC63A
triadic
#C6BB3A #3AC6BB #BB3AC6
tetradic
#C6BB3A #3AC675 #3A45C6 #C63A8B
square
#C6BB3A #3AC675 #3A45C6 #C63A8B
split-complementary
#C6BB3A #3A8BC6 #753AC6
monochromatic
#68621E #978F2C #C6BB3A #D4CB69 #E1DC99

Accessibility & contrast

On white

1.99
#C6BB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#C6BB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6BB3A
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6BB3A#FFFFFF#000000##000000
##C6BB3A1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB525
Deuteranopia (green-blind)
#CFBB43
Tritanopia (blue-blind)
#D5AEA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c6bb3a;
/* rgb */ color: rgb(198, 187, 58);
/* oklch */ color: oklch(77.8% 0.145 104.4);
Tailwind
colors: {
  custom: {
    50: '#dbcf78',
    500: '#c6bb3a',
    950: '#000000',
  },
}
SCSS
$custom: #c6bb3a;
$custom-light: #dbcf78;
$custom-dark: #000000;
JSON
{
  "hex": "#c6bb3a",
  "rgb": {
    "r": 198,
    "g": 187,
    "b": 58
  },
  "hsl": {
    "h": 55.286,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.77848,
    "c": 0.14487,
    "h": 104.4
  },
  "luminance": 0.47852
}

Semantic roles & 50–950 ramp

primary
#C6BB3A
secondary
#8F94CD
accent
#55DE49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C6BB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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