#C6CD3F#C6CD3F

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

Color values

HEX#C6CD3F
RGBrgb(198, 205, 63)
HSLhsl(63, 59%, 53%)
HSVhsv(63, 69%, 80%)
CMYKcmyk(3.4%, 0%, 69.3%, 19.6%)
CIE-LABlab(79.63, -19.58, 66.17)
CIE-LCHlch(79.63, 69.00, 106.49°)
OKLaboklab(81.77% -0.0602 0.1475)
OKLCHoklch(81.77% 0.159 112.2)
XYZxyz(46.0186, 56.0284, 13.0921)
Luminance0.5603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CD3F #463FCD
analogous
#CD8D3F #C6CD3F #7FCD3F
triadic
#C6CD3F #3FC6CD #CD3FC6
tetradic
#C6CD3F #3FCD8D #463FCD #CD3F7F
square
#C6CD3F #3FCD8D #463FCD #CD3F7F
split-complementary
#C6CD3F #3F7FCD #8D3FCD
monochromatic
#6F741E #9EA42B #C6CD3F #D4DA70 #E3E6A0

Accessibility & contrast

On white

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

On black

12.21
#C6CD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CD3F
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CD3F#FFFFFF#000000##000000
##C6CD3F1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6cd3f;
/* rgb */ color: rgb(198, 205, 63);
/* oklch */ color: oklch(81.8% 0.159 112.2);
Tailwind
colors: {
  custom: {
    50: '#dbdc7d',
    500: '#c6cd3f',
    950: '#000000',
  },
}
SCSS
$custom: #c6cd3f;
$custom-light: #dbdc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cd3f",
  "rgb": {
    "r": 198,
    "g": 205,
    "b": 63
  },
  "hsl": {
    "h": 62.958,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81767,
    "c": 0.15929,
    "h": 112.2
  },
  "luminance": 0.56027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C6CD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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