#C6CC2F#C6CC2F

#C6CC2F is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.5% C 0.167 H 111.9°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#C6CC2F
RGBrgb(198, 204, 47)
HSLhsl(62, 63%, 49%)
HSVhsv(62, 77%, 80%)
CMYKcmyk(2.9%, 0%, 77%, 20%)
CIE-LABlab(79.27, -19.81, 71.14)
CIE-LCHlch(79.27, 73.84, 105.56°)
OKLaboklab(81.45% -0.0623 0.1552)
OKLCHoklch(81.45% 0.167 111.9)
XYZxyz(45.3962, 55.3979, 10.9903)
Luminance0.5540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CC2F #352FCC
analogous
#CC842F #C6CC2F #78CC2F
triadic
#C6CC2F #2FC6CC #CC2FC6
tetradic
#C6CC2F #2FCC84 #352FCC #CC2F78
square
#C6CC2F #2FCC84 #352FCC #CC2F78
split-complementary
#C6CC2F #2F78CC #842FCC
monochromatic
#656918 #969A24 #C6CC2F #D5DA5E #E2E590

Accessibility & contrast

On white

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

On black

12.08
#C6CC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CC2F
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CC2F#FFFFFF#000000##000000
##C6CC2F1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC200
Deuteranopia (green-blind)
#DDC63D
Tritanopia (blue-blind)
#D4BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c6cc2f;
/* rgb */ color: rgb(198, 204, 47);
/* oklch */ color: oklch(81.5% 0.167 111.9);
Tailwind
colors: {
  custom: {
    50: '#dbdb75',
    500: '#c6cc2f',
    950: '#000000',
  },
}
SCSS
$custom: #c6cc2f;
$custom-light: #dbdb75;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cc2f",
  "rgb": {
    "r": 198,
    "g": 204,
    "b": 47
  },
  "hsl": {
    "h": 62.293,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.81451,
    "c": 0.16724,
    "h": 111.9
  },
  "luminance": 0.55397
}

Semantic roles & 50–950 ramp

primary
#C6CC2F
secondary
#2F2D72
accent
#42E648
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C6CC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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