#C6CD42#C6CD42

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

Color values

HEX#C6CD42
RGBrgb(198, 205, 66)
HSLhsl(63, 58%, 53%)
HSVhsv(63, 68%, 80%)
CMYKcmyk(3.4%, 0%, 67.8%, 19.6%)
CIE-LABlab(79.65, -19.42, 65.07)
CIE-LCHlch(79.65, 67.91, 106.62°)
OKLaboklab(81.79% -0.0595 0.1457)
OKLCHoklch(81.79% 0.157 112.2)
XYZxyz(46.1048, 56.0628, 13.5457)
Luminance0.5606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CD42 #4942CD
analogous
#CD8F42 #C6CD42 #80CD42
triadic
#C6CD42 #42C6CD #CD42C6
tetradic
#C6CD42 #42CD8F #4942CD #CD4280
square
#C6CD42 #42CD8F #4942CD #CD4280
split-complementary
#C6CD42 #4280CD #8F42CD
monochromatic
#71761F #A0A62C #C6CD42 #D5DA72 #E3E7A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6CD42#FFFFFF#000000##000000
##C6CD421.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)
#DCC42D
Deuteranopia (green-blind)
#DDC74C
Tritanopia (blue-blind)
#D3C1B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c6cd42;
/* rgb */ color: rgb(198, 205, 66);
/* oklch */ color: oklch(81.8% 0.157 112.2);
Tailwind
colors: {
  custom: {
    50: '#dbdc7e',
    500: '#c6cd42',
    950: '#000000',
  },
}
SCSS
$custom: #c6cd42;
$custom-light: #dbdc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cd42",
  "rgb": {
    "r": 198,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 63.022,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81789,
    "c": 0.15733,
    "h": 112.2
  },
  "luminance": 0.56062
}

Semantic roles & 50–950 ramp

primary
#C6CD42
secondary
#39357E
accent
#46E14E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C6CD42

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

Preview Lab → · Contrast checker → · Palette generator →

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