#6A9222#6A9222

#6A9222 is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 60.9% C 0.144 H 127.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#6A9222
RGBrgb(106, 146, 34)
HSLhsl(81, 62%, 35%)
HSVhsv(81, 77%, 57%)
CMYKcmyk(27.4%, 0%, 76.7%, 42.7%)
CIE-LABlab(55.82, -30.60, 51.16)
CIE-LCHlch(55.82, 59.61, 120.88°)
OKLaboklab(60.88% -0.0879 0.1136)
OKLCHoklch(60.88% 0.144 127.7)
XYZxyz(16.5115, 23.7371, 5.2249)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A9222 #4A2292
analogous
#928222 #6A9222 #329222
triadic
#6A9222 #226A92 #92226A
tetradic
#6A9222 #229282 #4A2292 #922232
square
#6A9222 #229282 #4A2292 #922232
split-complementary
#6A9222 #223292 #822292
monochromatic
#222F0B #466016 #6A9222 #8EC42E #AAD857

Accessibility & contrast

On white

3.65
#6A9222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#6A9222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A9222
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A9222#FFFFFF#000000##000000
##6A92221.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8708
Deuteranopia (green-blind)
#94852D
Tritanopia (blue-blind)
#6E8B7D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6a9222;
/* rgb */ color: rgb(106, 146, 34);
/* oklch */ color: oklch(60.9% 0.144 127.7);
Tailwind
colors: {
  custom: {
    50: '#98b266',
    500: '#6a9222',
    950: '#000000',
  },
}
SCSS
$custom: #6a9222;
$custom-light: #98b266;
$custom-dark: #000000;
JSON
{
  "hex": "#6a9222",
  "rgb": {
    "r": 106,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 81.429,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60882,
    "c": 0.14364,
    "h": 127.7
  },
  "luminance": 0.23737
}

Semantic roles & 50–950 ramp

primary
#6A9222
secondary
#7954BC
accent
#43E57D
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6A9222

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

Preview Lab → · Contrast checker → · Palette generator →

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