#C6BA3A#C6BA3A

#C6BA3A is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.6% C 0.144 H 103.9°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#C6BA3A
RGBrgb(198, 186, 58)
HSLhsl(55, 55%, 50%)
HSVhsv(55, 71%, 78%)
CMYKcmyk(0%, 6.1%, 70.7%, 22.4%)
CIE-LABlab(74.46, -10.27, 62.92)
CIE-LCHlch(74.46, 63.76, 99.27°)
OKLaboklab(77.64% -0.0346 0.1398)
OKLCHoklch(77.64% 0.144 103.9)
XYZxyz(41.6131, 47.4307, 10.9653)
Luminance0.4743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6BA3A #3A46C6
analogous
#C6743A #C6BA3A #8CC63A
triadic
#C6BA3A #3AC6BA #BA3AC6
tetradic
#C6BA3A #3AC674 #3A46C6 #C63A8C
square
#C6BA3A #3AC674 #3A46C6 #C63A8C
split-complementary
#C6BA3A #3A8CC6 #743AC6
monochromatic
#68611E #978E2C #C6BA3A #D4CB69 #E1DB99

Accessibility & contrast

On white

2.00
#C6BA3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#C6BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6BA3A
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6BA3A#FFFFFF#000000##000000
##C6BA3A1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB425
Deuteranopia (green-blind)
#CEBA43
Tritanopia (blue-blind)
#D5ADA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c6ba3a;
/* rgb */ color: rgb(198, 186, 58);
/* oklch */ color: oklch(77.6% 0.144 103.9);
Tailwind
colors: {
  custom: {
    50: '#dbce78',
    500: '#c6ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #c6ba3a;
$custom-light: #dbce78;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ba3a",
  "rgb": {
    "r": 198,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 54.857,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.77635,
    "c": 0.14398,
    "h": 103.9
  },
  "luminance": 0.47429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C6BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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