#C6CA2B#C6CA2B

#C6CA2B is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.0% C 0.167 H 111.1°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#C6CA2B
RGBrgb(198, 202, 43)
HSLhsl(62, 65%, 48%)
HSVhsv(62, 79%, 79%)
CMYKcmyk(2%, 0%, 78.7%, 20.8%)
CIE-LABlab(78.71, -18.97, 71.79)
CIE-LCHlch(78.71, 74.25, 104.80°)
OKLaboklab(80.99% -0.0602 0.1559)
OKLCHoklch(80.99% 0.167 111.1)
XYZxyz(44.8469, 54.4225, 10.4272)
Luminance0.5442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CA2B #2F2BCA
analogous
#CA7E2B #C6CA2B #77CA2B
triadic
#C6CA2B #2BC6CA #CA2BC6
tetradic
#C6CA2B #2BCA7E #2F2BCA #CA2B77
square
#C6CA2B #2BCA7E #2F2BCA #CA2B77
split-complementary
#C6CA2B #2B77CA #7E2BCA
monochromatic
#636516 #959820 #C6CA2B #D8DB57 #E4E689

Accessibility & contrast

On white

1.77
#C6CA2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#C6CA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CA2B
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CA2B#FFFFFF#000000##000000
##C6CA2B1.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC100
Deuteranopia (green-blind)
#DBC53A
Tritanopia (blue-blind)
#D4BDAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c6ca2b;
/* rgb */ color: rgb(198, 202, 43);
/* oklch */ color: oklch(81.0% 0.167 111.1);
Tailwind
colors: {
  custom: {
    50: '#dbd973',
    500: '#c6ca2b',
    950: '#000000',
  },
}
SCSS
$custom: #c6ca2b;
$custom-light: #dbd973;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ca2b",
  "rgb": {
    "r": 198,
    "g": 202,
    "b": 43
  },
  "hsl": {
    "h": 61.509,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.80995,
    "c": 0.16713,
    "h": 111.1
  },
  "luminance": 0.54421
}

Semantic roles & 50–950 ramp

primary
#C6CA2B
secondary
#2C2A6F
accent
#40E844
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C6CA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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