#C6CC2D#C6CC2D

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

Color values

HEX#C6CC2D
RGBrgb(198, 204, 45)
HSLhsl(62, 64%, 49%)
HSVhsv(62, 78%, 80%)
CMYKcmyk(2.9%, 0%, 77.9%, 20%)
CIE-LABlab(79.26, -19.88, 71.71)
CIE-LCHlch(79.26, 74.42, 105.50°)
OKLaboklab(81.44% -0.0626 0.1561)
OKLCHoklch(81.44% 0.168 111.9)
XYZxyz(45.3568, 55.3821, 10.7827)
Luminance0.5538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CC2D #332DCC
analogous
#CC832D #C6CC2D #77CC2D
triadic
#C6CC2D #2DC6CC #CC2DC6
tetradic
#C6CC2D #2DCC83 #332DCC #CC2D77
square
#C6CC2D #2DCC83 #332DCC #CC2D77
split-complementary
#C6CC2D #2D77CC #832DCC
monochromatic
#656817 #959A22 #C6CC2D #D6DB5B #E3E68D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6CC2D#FFFFFF#000000##000000
##C6CC2D1.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)
#DDC63C
Tritanopia (blue-blind)
#D4BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c6cc2d;
/* rgb */ color: rgb(198, 204, 45);
/* oklch */ color: oklch(81.4% 0.168 111.9);
Tailwind
colors: {
  custom: {
    50: '#dbdb74',
    500: '#c6cc2d',
    950: '#000000',
  },
}
SCSS
$custom: #c6cc2d;
$custom-light: #dbdb74;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cc2d",
  "rgb": {
    "r": 198,
    "g": 204,
    "b": 45
  },
  "hsl": {
    "h": 62.264,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.8144,
    "c": 0.16819,
    "h": 111.9
  },
  "luminance": 0.55381
}

Semantic roles & 50–950 ramp

primary
#C6CC2D
secondary
#2E2B72
accent
#41E747
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C6CC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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