#6A8922#6A8922

#6A8922 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.6% C 0.132 H 125.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6A8922
RGBrgb(106, 137, 34)
HSLhsl(78, 60%, 34%)
HSVhsv(78, 75%, 54%)
CMYKcmyk(22.6%, 0%, 75.2%, 46.3%)
CIE-LABlab(53.03, -26.26, 48.46)
CIE-LCHlch(53.03, 55.11, 118.46°)
OKLaboklab(58.61% -0.076 0.108)
OKLCHoklch(58.61% 0.132 125.2)
XYZxyz(15.1784, 21.0708, 4.7805)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8922 #412289
analogous
#897422 #6A8922 #368922
triadic
#6A8922 #226A89 #89226A
tetradic
#6A8922 #228974 #412289 #892236
square
#6A8922 #228974 #412289 #892236
split-complementary
#6A8922 #223689 #742289
monochromatic
#1E270A #445816 #6A8922 #90BA2E #ADD451

Accessibility & contrast

On white

4.03
#6A8922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#6A8922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8922
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8922#FFFFFF#000000##000000
##6A89221.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800E
Deuteranopia (green-blind)
#8D7E2B
Tritanopia (blue-blind)
#6F8275
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6a8922;
/* rgb */ color: rgb(106, 137, 34);
/* oklch */ color: oklch(58.6% 0.132 125.2);
Tailwind
colors: {
  custom: {
    50: '#98ab65',
    500: '#6a8922',
    950: '#000000',
  },
}
SCSS
$custom: #6a8922;
$custom-light: #98ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8922",
  "rgb": {
    "r": 106,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 78.058,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58614,
    "c": 0.13205,
    "h": 125.2
  },
  "luminance": 0.21071
}

Semantic roles & 50–950 ramp

primary
#6A8922
secondary
#6F4FB8
accent
#44E374
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6A8922

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

Preview Lab → · Contrast checker → · Palette generator →

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