#C6CA2A#C6CA2A

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

Color values

HEX#C6CA2A
RGBrgb(198, 202, 42)
HSLhsl(62, 66%, 48%)
HSVhsv(62, 79%, 79%)
CMYKcmyk(2%, 0%, 79.2%, 20.8%)
CIE-LABlab(78.70, -19.00, 72.06)
CIE-LCHlch(78.70, 74.52, 104.77°)
OKLaboklab(80.99% -0.0604 0.1563)
OKLCHoklch(80.99% 0.168 111.1)
XYZxyz(44.8288, 54.4152, 10.3318)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CA2A #2E2ACA
analogous
#CA7E2A #C6CA2A #76CA2A
triadic
#C6CA2A #2AC6CA #CA2AC6
tetradic
#C6CA2A #2ACA7E #2E2ACA #CA2A76
square
#C6CA2A #2ACA7E #2E2ACA #CA2A76
split-complementary
#C6CA2A #2A76CA #7E2ACA
monochromatic
#636515 #94971F #C6CA2A #D8DC55 #E4E688

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6CA2A#FFFFFF#000000##000000
##C6CA2A1.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)
#DBC539
Tritanopia (blue-blind)
#D4BDAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c6ca2a;
/* rgb */ color: rgb(198, 202, 42);
/* oklch */ color: oklch(81.0% 0.168 111.1);
Tailwind
colors: {
  custom: {
    50: '#dbd973',
    500: '#c6ca2a',
    950: '#000000',
  },
}
SCSS
$custom: #c6ca2a;
$custom-light: #dbd973;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ca2a",
  "rgb": {
    "r": 198,
    "g": 202,
    "b": 42
  },
  "hsl": {
    "h": 61.5,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.8099,
    "c": 0.16758,
    "h": 111.1
  },
  "luminance": 0.54414
}

Semantic roles & 50–950 ramp

primary
#C6CA2A
secondary
#2B296F
accent
#3FE944
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C6CA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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