#C6BA42#C6BA42

#C6BA42 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.7% C 0.139 H 103.6°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#C6BA42
RGBrgb(198, 186, 66)
HSLhsl(55, 54%, 52%)
HSVhsv(55, 67%, 78%)
CMYKcmyk(0%, 6.1%, 66.7%, 22.4%)
CIE-LABlab(74.52, -9.84, 59.86)
CIE-LCHlch(74.52, 60.66, 99.34°)
OKLaboklab(77.7% -0.0325 0.1347)
OKLCHoklch(77.7% 0.139 103.6)
XYZxyz(41.8326, 47.5186, 12.1217)
Luminance0.4752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6BA42 #424EC6
analogous
#C67842 #C6BA42 #90C642
triadic
#C6BA42 #42C6BA #BA42C6
tetradic
#C6BA42 #42C678 #424EC6 #C64290
square
#C6BA42 #42C678 #424EC6 #C64290
split-complementary
#C6BA42 #4290C6 #7842C6
monochromatic
#6D6621 #9C922F #C6BA42 #D4CB71 #E2DCA0

Accessibility & contrast

On white

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

On black

10.50
#C6BA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6BA42
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6BA42#FFFFFF#000000##000000
##C6BA421.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB432
Deuteranopia (green-blind)
#CEBA49
Tritanopia (blue-blind)
#D4AEA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c6ba42;
/* rgb */ color: rgb(198, 186, 66);
/* oklch */ color: oklch(77.7% 0.139 103.6);
Tailwind
colors: {
  custom: {
    50: '#dbce7d',
    500: '#c6ba42',
    950: '#000000',
  },
}
SCSS
$custom: #c6ba42;
$custom-light: #dbce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ba42",
  "rgb": {
    "r": 198,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 54.545,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77697,
    "c": 0.13853,
    "h": 103.6
  },
  "luminance": 0.47517
}

Semantic roles & 50–950 ramp

primary
#C6BA42
secondary
#959ACF
accent
#58DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C6BA42

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

Preview Lab → · Contrast checker → · Palette generator →

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