#6C9D20#6C9D20

#6C9D20 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 63.8% C 0.158 H 129.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#6C9D20
RGBrgb(108, 157, 32)
HSLhsl(84, 66%, 37%)
HSVhsv(84, 80%, 62%)
CMYKcmyk(31.2%, 0%, 79.6%, 38.4%)
CIE-LABlab(59.35, -35.00, 55.18)
CIE-LCHlch(59.35, 65.34, 122.39°)
OKLaboklab(63.78% -0.1001 0.1217)
OKLCHoklch(63.78% 0.158 129.4)
XYZxyz(18.5020, 27.4058, 5.6813)
Luminance0.2741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C9D20 #51209D
analogous
#9D9020 #6C9D20 #2D9D20
triadic
#6C9D20 #206C9D #9D206C
tetradic
#6C9D20 #209D90 #51209D #9D202D
square
#6C9D20 #209D90 #51209D #9D202D
split-complementary
#6C9D20 #202D9D #90209D
monochromatic
#26370B #496A16 #6C9D20 #8FD02A #AADD5A

Accessibility & contrast

On white

3.24
#6C9D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#6C9D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C9D20
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C9D20#FFFFFF#000000##000000
##6C9D201.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9E8E2D
Tritanopia (blue-blind)
#6F9686
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #6c9d20;
/* rgb */ color: rgb(108, 157, 32);
/* oklch */ color: oklch(63.8% 0.158 129.4);
Tailwind
colors: {
  custom: {
    50: '#9bba67',
    500: '#6c9d20',
    950: '#000000',
  },
}
SCSS
$custom: #6c9d20;
$custom-light: #9bba67;
$custom-dark: #000000;
JSON
{
  "hex": "#6c9d20",
  "rgb": {
    "r": 108,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 83.52,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63777,
    "c": 0.15757,
    "h": 129.4
  },
  "luminance": 0.27406
}

Semantic roles & 50–950 ramp

primary
#6C9D20
secondary
#8157C1
accent
#3FE982
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6C9D20

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

Preview Lab → · Contrast checker → · Palette generator →

#6C9D20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva