#C6CD3E#C6CD3E

#C6CD3E is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.8% C 0.160 H 112.2°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#C6CD3E
RGBrgb(198, 205, 62)
HSLhsl(63, 59%, 52%)
HSVhsv(63, 70%, 80%)
CMYKcmyk(3.4%, 0%, 69.8%, 19.6%)
CIE-LABlab(79.62, -19.63, 66.52)
CIE-LCHlch(79.62, 69.36, 106.44°)
OKLaboklab(81.76% -0.0605 0.148)
OKLCHoklch(81.76% 0.16 112.2)
XYZxyz(45.9910, 56.0173, 12.9462)
Luminance0.5602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CD3E #453ECD
analogous
#CD8D3E #C6CD3E #7FCD3E
triadic
#C6CD3E #3EC6CD #CD3EC6
tetradic
#C6CD3E #3ECD8D #453ECD #CD3E7F
square
#C6CD3E #3ECD8D #453ECD #CD3E7F
split-complementary
#C6CD3E #3E7FCD #8D3ECD
monochromatic
#6F731E #9EA32A #C6CD3E #D4DA6F #E3E69F

Accessibility & contrast

On white

1.72
#C6CD3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#C6CD3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CD3E
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CD3E#FFFFFF#000000##000000
##C6CD3E1.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC426
Deuteranopia (green-blind)
#DDC749
Tritanopia (blue-blind)
#D3C1B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c6cd3e;
/* rgb */ color: rgb(198, 205, 62);
/* oklch */ color: oklch(81.8% 0.160 112.2);
Tailwind
colors: {
  custom: {
    50: '#dbdc7c',
    500: '#c6cd3e',
    950: '#000000',
  },
}
SCSS
$custom: #c6cd3e;
$custom-light: #dbdc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cd3e",
  "rgb": {
    "r": 198,
    "g": 205,
    "b": 62
  },
  "hsl": {
    "h": 62.937,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.8176,
    "c": 0.15993,
    "h": 112.2
  },
  "luminance": 0.56016
}

Semantic roles & 50–950 ramp

primary
#C6CD3E
secondary
#37347C
accent
#46E24D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C6CD3E

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

Preview Lab → · Contrast checker → · Palette generator →

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