#6A9822#6A9822

#6A9822 is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.4% C 0.151 H 129.1°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6A9822
RGBrgb(106, 152, 34)
HSLhsl(83, 63%, 36%)
HSVhsv(83, 78%, 60%)
CMYKcmyk(30.3%, 0%, 77.6%, 40.4%)
CIE-LABlab(57.69, -33.39, 52.93)
CIE-LCHlch(57.69, 62.59, 122.24°)
OKLaboklab(62.4% -0.0955 0.1174)
OKLCHoklch(62.4% 0.151 129.1)
XYZxyz(17.4608, 25.6356, 5.5413)
Luminance0.2564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A9822 #502298
analogous
#988B22 #6A9822 #2F9822
triadic
#6A9822 #226A98 #98226A
tetradic
#6A9822 #22988B #502298 #98222F
square
#6A9822 #22988B #502298 #98222F
split-complementary
#6A9822 #222F98 #8B2298
monochromatic
#24340C #476617 #6A9822 #8DCA2D #A8DA5A

Accessibility & contrast

On white

3.43
#6A9822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#6A9822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A9822
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A9822#FFFFFF#000000##000000
##6A98221.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D04
Deuteranopia (green-blind)
#998A2E
Tritanopia (blue-blind)
#6D9182
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6a9822;
/* rgb */ color: rgb(106, 152, 34);
/* oklch */ color: oklch(62.4% 0.151 129.1);
Tailwind
colors: {
  custom: {
    50: '#99b667',
    500: '#6a9822',
    950: '#000000',
  },
}
SCSS
$custom: #6a9822;
$custom-light: #99b667;
$custom-dark: #000000;
JSON
{
  "hex": "#6a9822",
  "rgb": {
    "r": 106,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 83.39,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62399,
    "c": 0.15129,
    "h": 129.1
  },
  "luminance": 0.25636
}

Semantic roles & 50–950 ramp

primary
#6A9822
secondary
#8057BE
accent
#41E682
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6A9822

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

Preview Lab → · Contrast checker → · Palette generator →

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