#C6CC3A#C6CC3A

#C6CC3A is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.5% C 0.161 H 111.8°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#C6CC3A
RGBrgb(198, 204, 58)
HSLhsl(62, 59%, 51%)
HSVhsv(62, 72%, 80%)
CMYKcmyk(2.9%, 0%, 71.6%, 20%)
CIE-LABlab(79.33, -19.34, 67.65)
CIE-LCHlch(79.33, 70.36, 105.95°)
OKLaboklab(81.52% -0.06 0.1498)
OKLCHoklch(81.52% 0.161 111.8)
XYZxyz(45.6468, 55.4981, 12.3098)
Luminance0.5550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CC3A #403ACC
analogous
#CC893A #C6CC3A #7DCC3A
triadic
#C6CC3A #3AC6CC #CC3AC6
tetradic
#C6CC3A #3ACC89 #403ACC #CC3A7D
square
#C6CC3A #3ACC89 #403ACC #CC3A7D
split-complementary
#C6CC3A #3A7DCC #893ACC
monochromatic
#6C6F1D #9BA029 #C6CC3A #D4D96B #E2E59B

Accessibility & contrast

On white

1.74
#C6CC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#C6CC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CC3A
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CC3A#FFFFFF#000000##000000
##C6CC3A1.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC31E
Deuteranopia (green-blind)
#DCC645
Tritanopia (blue-blind)
#D4BFB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c6cc3a;
/* rgb */ color: rgb(198, 204, 58);
/* oklch */ color: oklch(81.5% 0.161 111.8);
Tailwind
colors: {
  custom: {
    50: '#dbdb7a',
    500: '#c6cc3a',
    950: '#000000',
  },
}
SCSS
$custom: #c6cc3a;
$custom-light: #dbdb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cc3a",
  "rgb": {
    "r": 198,
    "g": 204,
    "b": 58
  },
  "hsl": {
    "h": 62.466,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81515,
    "c": 0.16133,
    "h": 111.8
  },
  "luminance": 0.55497
}

Semantic roles & 50–950 ramp

primary
#C6CC3A
secondary
#353278
accent
#46E24C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C6CC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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