#6A9C20#6A9C20

#6A9C20 is a light, vivid yellow-green. Relative luminance 0.269; OKLCH L 63.4% C 0.157 H 129.8°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#6A9C20
RGBrgb(106, 156, 32)
HSLhsl(84, 66%, 37%)
HSVhsv(84, 79%, 61%)
CMYKcmyk(32.1%, 0%, 79.5%, 38.8%)
CIE-LABlab(58.92, -35.32, 54.74)
CIE-LCHlch(58.92, 65.15, 122.83°)
OKLaboklab(63.4% -0.1008 0.1208)
OKLCHoklch(63.4% 0.157 129.8)
XYZxyz(18.0930, 26.9448, 5.6138)
Luminance0.2695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A9C20 #52209C
analogous
#9C9020 #6A9C20 #2C9C20
triadic
#6A9C20 #206A9C #9C206A
tetradic
#6A9C20 #209C90 #52209C #9C202C
square
#6A9C20 #209C90 #52209C #9C202C
split-complementary
#6A9C20 #202C9C #90209C
monochromatic
#25360B #476916 #6A9C20 #8DCF2A #A8DD59

Accessibility & contrast

On white

3.29
#6A9C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#6A9C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A9C20
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A9C20#FFFFFF#000000##000000
##6A9C201.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#9D8D2D
Tritanopia (blue-blind)
#6D9585
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6a9c20;
/* rgb */ color: rgb(106, 156, 32);
/* oklch */ color: oklch(63.4% 0.157 129.8);
Tailwind
colors: {
  custom: {
    50: '#99b967',
    500: '#6a9c20',
    950: '#000000',
  },
}
SCSS
$custom: #6a9c20;
$custom-light: #99b967;
$custom-dark: #000000;
JSON
{
  "hex": "#6a9c20",
  "rgb": {
    "r": 106,
    "g": 156,
    "b": 32
  },
  "hsl": {
    "h": 84.194,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.634,
    "c": 0.15737,
    "h": 129.8
  },
  "luminance": 0.26945
}

Semantic roles & 50–950 ramp

primary
#6A9C20
secondary
#8257C1
accent
#3FE983
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6A9C20

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

Preview Lab → · Contrast checker → · Palette generator →

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