#6A8D22#6A8D22

#6A8D22 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.6% C 0.137 H 126.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#6A8D22
RGBrgb(106, 141, 34)
HSLhsl(80, 61%, 34%)
HSVhsv(80, 76%, 55%)
CMYKcmyk(24.8%, 0%, 75.9%, 44.7%)
CIE-LABlab(54.27, -28.21, 49.66)
CIE-LCHlch(54.27, 57.11, 119.60°)
OKLaboklab(59.62% -0.0814 0.1105)
OKLCHoklch(59.62% 0.137 126.4)
XYZxyz(15.7575, 22.2292, 4.9735)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8D22 #45228D
analogous
#8D7B22 #6A8D22 #358D22
triadic
#6A8D22 #226A8D #8D226A
tetradic
#6A8D22 #228D7B #45228D #8D2235
square
#6A8D22 #228D7B #45228D #8D2235
split-complementary
#6A8D22 #22358D #7B228D
monochromatic
#202A0A #455C16 #6A8D22 #8FBE2E #ABD654

Accessibility & contrast

On white

3.86
#6A8D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#6A8D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8D22
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8D22#FFFFFF#000000##000000
##6A8D221.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830B
Deuteranopia (green-blind)
#90812C
Tritanopia (blue-blind)
#6F8679
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6a8d22;
/* rgb */ color: rgb(106, 141, 34);
/* oklch */ color: oklch(59.6% 0.137 126.4);
Tailwind
colors: {
  custom: {
    50: '#98ae65',
    500: '#6a8d22',
    950: '#000000',
  },
}
SCSS
$custom: #6a8d22;
$custom-light: #98ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8d22",
  "rgb": {
    "r": 106,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 79.626,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59621,
    "c": 0.13721,
    "h": 126.4
  },
  "luminance": 0.22229
}

Semantic roles & 50–950 ramp

primary
#6A8D22
secondary
#7351B9
accent
#44E478
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6A8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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