#6D8922#6D8922

#6D8922 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.8% C 0.131 H 123.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6D8922
RGBrgb(109, 137, 34)
HSLhsl(76, 60%, 34%)
HSVhsv(76, 75%, 54%)
CMYKcmyk(20.4%, 0%, 75.2%, 46.3%)
CIE-LABlab(53.23, -25.00, 48.72)
CIE-LCHlch(53.23, 54.76, 117.16°)
OKLaboklab(58.83% -0.0727 0.1084)
OKLCHoklch(58.83% 0.131 123.9)
XYZxyz(15.5412, 21.2579, 4.7975)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8922 #3E2289
analogous
#897122 #6D8922 #398922
triadic
#6D8922 #226D89 #89226D
tetradic
#6D8922 #228971 #3E2289 #892239
square
#6D8922 #228971 #3E2289 #892239
split-complementary
#6D8922 #223989 #712289
monochromatic
#1F270A #465816 #6D8922 #94BA2E #B0D451

Accessibility & contrast

On white

4.00
#6D8922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#6D8922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8922
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8922#FFFFFF#000000##000000
##6D89221.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800D
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#738275
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6d8922;
/* rgb */ color: rgb(109, 137, 34);
/* oklch */ color: oklch(58.8% 0.131 123.9);
Tailwind
colors: {
  custom: {
    50: '#9aab65',
    500: '#6d8922',
    950: '#000000',
  },
}
SCSS
$custom: #6d8922;
$custom-light: #9aab65;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8922",
  "rgb": {
    "r": 109,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 76.311,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58831,
    "c": 0.13058,
    "h": 123.9
  },
  "luminance": 0.21258
}

Semantic roles & 50–950 ramp

primary
#6D8922
secondary
#6C4FB8
accent
#44E370
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6D8922

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

Preview Lab → · Contrast checker → · Palette generator →

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