#6C9921#6C9921

#6C9921 is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 62.8% C 0.152 H 128.6°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#6C9921
RGBrgb(108, 153, 33)
HSLhsl(83, 65%, 36%)
HSVhsv(83, 78%, 60%)
CMYKcmyk(29.4%, 0%, 78.4%, 40%)
CIE-LABlab(58.11, -33.12, 53.71)
CIE-LCHlch(58.11, 63.10, 121.66°)
OKLaboklab(62.77% -0.0949 0.1188)
OKLCHoklch(62.77% 0.152 128.6)
XYZxyz(17.8501, 26.0799, 5.5320)
Luminance0.2608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C9921 #4E2199
analogous
#998A21 #6C9921 #309921
triadic
#6C9921 #216C99 #99216C
tetradic
#6C9921 #21998A #4E2199 #992130
square
#6C9921 #21998A #4E2199 #992130
split-complementary
#6C9921 #213099 #8A2199
monochromatic
#25340B #486716 #6C9921 #90CB2C #AADB59

Accessibility & contrast

On white

3.38
#6C9921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#6C9921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C9921
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C9921#FFFFFF#000000##000000
##6C99211.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#709283
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6c9921;
/* rgb */ color: rgb(108, 153, 33);
/* oklch */ color: oklch(62.8% 0.152 128.6);
Tailwind
colors: {
  custom: {
    50: '#9ab767',
    500: '#6c9921',
    950: '#000000',
  },
}
SCSS
$custom: #6c9921;
$custom-light: #9ab767;
$custom-dark: #000000;
JSON
{
  "hex": "#6c9921",
  "rgb": {
    "r": 108,
    "g": 153,
    "b": 33
  },
  "hsl": {
    "h": 82.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62773,
    "c": 0.15205,
    "h": 128.6
  },
  "luminance": 0.2608
}

Semantic roles & 50–950 ramp

primary
#6C9921
secondary
#7E56BF
accent
#40E87F
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6C9921

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

Preview Lab → · Contrast checker → · Palette generator →

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