#C6CD3A#C6CD3A

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

Color values

HEX#C6CD3A
RGBrgb(198, 205, 58)
HSLhsl(63, 60%, 52%)
HSVhsv(63, 72%, 80%)
CMYKcmyk(3.4%, 0%, 71.7%, 19.6%)
CIE-LABlab(79.60, -19.83, 67.91)
CIE-LCHlch(79.60, 70.75, 106.28°)
OKLaboklab(81.73% -0.0614 0.1503)
OKLCHoklch(81.73% 0.162 112.2)
XYZxyz(45.8852, 55.9750, 12.3893)
Luminance0.5597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CD3A #413ACD
analogous
#CD8B3A #C6CD3A #7DCD3A
triadic
#C6CD3A #3AC6CD #CD3AC6
tetradic
#C6CD3A #3ACD8B #413ACD #CD3A7D
square
#C6CD3A #3ACD8B #413ACD #CD3A7D
split-complementary
#C6CD3A #3A7DCD #8B3ACD
monochromatic
#6C701C #9BA129 #C6CD3A #D4D96B #E2E69C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6CD3A#FFFFFF#000000##000000
##C6CD3A1.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)
#DDC41E
Deuteranopia (green-blind)
#DDC746
Tritanopia (blue-blind)
#D3C1B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c6cd3a;
/* rgb */ color: rgb(198, 205, 58);
/* oklch */ color: oklch(81.7% 0.162 112.2);
Tailwind
colors: {
  custom: {
    50: '#dbdc7a',
    500: '#c6cd3a',
    950: '#000000',
  },
}
SCSS
$custom: #c6cd3a;
$custom-light: #dbdc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cd3a",
  "rgb": {
    "r": 198,
    "g": 205,
    "b": 58
  },
  "hsl": {
    "h": 62.857,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81733,
    "c": 0.16236,
    "h": 112.2
  },
  "luminance": 0.55974
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C6CD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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