#C6D12C#C6D12C

#C6D12C is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.5% C 0.174 H 113.6°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#C6D12C
RGBrgb(198, 209, 44)
HSLhsl(64, 65%, 50%)
HSVhsv(64, 79%, 82%)
CMYKcmyk(5.3%, 0%, 78.9%, 18%)
CIE-LABlab(80.62, -22.36, 73.20)
CIE-LCHlch(80.62, 76.54, 106.99°)
OKLaboklab(82.53% -0.0696 0.1591)
OKLCHoklch(82.53% 0.174 113.6)
XYZxyz(46.5453, 57.7896, 11.0850)
Luminance0.5779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6D12C #372CD1
analogous
#D18A2C #C6D12C #74D12C
triadic
#C6D12C #2CC6D1 #D12CC6
tetradic
#C6D12C #2CD18A #372CD1 #D12C74
square
#C6D12C #2CD18A #372CD1 #D12C74
split-complementary
#C6D12C #2C74D1 #8A2CD1
monochromatic
#666C17 #969E21 #C6D12C #D4DD5D #E2E890

Accessibility & contrast

On white

1.67
#C6D12C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#C6D12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6D12C
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6D12C#FFFFFF#000000##000000
##C6D12C1.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C700
Deuteranopia (green-blind)
#E1CA3C
Tritanopia (blue-blind)
#D4C4B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c6d12c;
/* rgb */ color: rgb(198, 209, 44);
/* oklch */ color: oklch(82.5% 0.174 113.6);
Tailwind
colors: {
  custom: {
    50: '#dbde74',
    500: '#c6d12c',
    950: '#000000',
  },
}
SCSS
$custom: #c6d12c;
$custom-light: #dbde74;
$custom-dark: #000000;
JSON
{
  "hex": "#c6d12c",
  "rgb": {
    "r": 198,
    "g": 209,
    "b": 44
  },
  "hsl": {
    "h": 64,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.82529,
    "c": 0.17365,
    "h": 113.6
  },
  "luminance": 0.57789
}

Semantic roles & 50–950 ramp

primary
#C6D12C
secondary
#312C75
accent
#40E84B
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #C6D12C

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

Preview Lab → · Contrast checker → · Palette generator →

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