#C6CD39#C6CD39

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

Color values

HEX#C6CD39
RGBrgb(198, 205, 57)
HSLhsl(63, 60%, 51%)
HSVhsv(63, 72%, 80%)
CMYKcmyk(3.4%, 0%, 72.2%, 19.6%)
CIE-LABlab(79.59, -19.88, 68.25)
CIE-LCHlch(79.59, 71.08, 106.24°)
OKLaboklab(81.73% -0.0616 0.1508)
OKLCHoklch(81.73% 0.163 112.2)
XYZxyz(45.8600, 55.9649, 12.2566)
Luminance0.5596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CD39 #4039CD
analogous
#CD8A39 #C6CD39 #7CCD39
triadic
#C6CD39 #39C6CD #CD39C6
tetradic
#C6CD39 #39CD8A #4039CD #CD397C
square
#C6CD39 #39CD8A #4039CD #CD397C
split-complementary
#C6CD39 #397CCD #8A39CD
monochromatic
#6C6F1C #9BA028 #C6CD39 #D4D96A #E2E69B

Accessibility & contrast

On white

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

On black

12.19
#C6CD39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CD39
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CD39#FFFFFF#000000##000000
##C6CD391.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC31C
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#D3C0B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c6cd39;
/* rgb */ color: rgb(198, 205, 57);
/* oklch */ color: oklch(81.7% 0.163 112.2);
Tailwind
colors: {
  custom: {
    50: '#dbdc7a',
    500: '#c6cd39',
    950: '#000000',
  },
}
SCSS
$custom: #c6cd39;
$custom-light: #dbdc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cd39",
  "rgb": {
    "r": 198,
    "g": 205,
    "b": 57
  },
  "hsl": {
    "h": 62.838,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81726,
    "c": 0.16294,
    "h": 112.2
  },
  "luminance": 0.55964
}

Semantic roles & 50–950 ramp

primary
#C6CD39
secondary
#353279
accent
#45E34C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C6CD39

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

Preview Lab → · Contrast checker → · Palette generator →

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