#C6CD2B#C6CD2B

#C6CD2B is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.6% C 0.170 H 112.2°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#C6CD2B
RGBrgb(198, 205, 43)
HSLhsl(63, 65%, 49%)
HSVhsv(63, 79%, 80%)
CMYKcmyk(3.4%, 0%, 79%, 19.6%)
CIE-LABlab(79.53, -20.44, 72.51)
CIE-LCHlch(79.53, 75.34, 105.75°)
OKLaboklab(81.65% -0.0643 0.1575)
OKLCHoklch(81.65% 0.17 112.2)
XYZxyz(45.5576, 55.8440, 10.6641)
Luminance0.5584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6CD2B #322BCD
analogous
#CD832B #C6CD2B #75CD2B
triadic
#C6CD2B #2BC6CD #CD2BC6
tetradic
#C6CD2B #2BCD83 #322BCD #CD2B75
square
#C6CD2B #2BCD83 #322BCD #CD2B75
split-complementary
#C6CD2B #2B75CD #832BCD
monochromatic
#646816 #959A20 #C6CD2B #D7DC59 #E3E78C

Accessibility & contrast

On white

1.73
#C6CD2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#C6CD2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6CD2B
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6CD2B#FFFFFF#000000##000000
##C6CD2B1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#DEC73A
Tritanopia (blue-blind)
#D4C0B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c6cd2b;
/* rgb */ color: rgb(198, 205, 43);
/* oklch */ color: oklch(81.6% 0.170 112.2);
Tailwind
colors: {
  custom: {
    50: '#dbdc73',
    500: '#c6cd2b',
    950: '#000000',
  },
}
SCSS
$custom: #c6cd2b;
$custom-light: #dbdc73;
$custom-dark: #000000;
JSON
{
  "hex": "#c6cd2b",
  "rgb": {
    "r": 198,
    "g": 205,
    "b": 43
  },
  "hsl": {
    "h": 62.593,
    "s": 65.323,
    "l": 48.627
  },
  "oklch": {
    "l": 0.81649,
    "c": 0.17008,
    "h": 112.2
  },
  "luminance": 0.55843
}

Semantic roles & 50–950 ramp

primary
#C6CD2B
secondary
#2D2A72
accent
#40E847
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161509
muted
#84847D

Preview Lab

Preview with #C6CD2B

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

Preview Lab → · Contrast checker → · Palette generator →

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