#6A8F22#6A8F22

#6A8F22 is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.1% C 0.140 H 126.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6A8F22
RGBrgb(106, 143, 34)
HSLhsl(80, 62%, 35%)
HSVhsv(80, 76%, 56%)
CMYKcmyk(25.9%, 0%, 76.2%, 43.9%)
CIE-LABlab(54.89, -29.17, 50.26)
CIE-LCHlch(54.89, 58.11, 120.13°)
OKLaboklab(60.12% -0.084 0.1117)
OKLCHoklch(60.12% 0.14 126.9)
XYZxyz(16.0551, 22.8243, 5.0727)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8F22 #47228F
analogous
#8F7E22 #6A8F22 #348F22
triadic
#6A8F22 #226A8F #8F226A
tetradic
#6A8F22 #228F7E #47228F #8F2234
square
#6A8F22 #228F7E #47228F #8F2234
split-complementary
#6A8F22 #22348F #7E228F
monochromatic
#212C0A #455E16 #6A8F22 #8FC02E #ABD755

Accessibility & contrast

On white

3.77
#6A8F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#6A8F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8F22
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8F22#FFFFFF#000000##000000
##6A8F221.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850A
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#6E887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6a8f22;
/* rgb */ color: rgb(106, 143, 34);
/* oklch */ color: oklch(60.1% 0.140 126.9);
Tailwind
colors: {
  custom: {
    50: '#98b066',
    500: '#6a8f22',
    950: '#000000',
  },
}
SCSS
$custom: #6a8f22;
$custom-light: #98b066;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8f22",
  "rgb": {
    "r": 106,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 80.367,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60125,
    "c": 0.13979,
    "h": 126.9
  },
  "luminance": 0.22825
}

Semantic roles & 50–950 ramp

primary
#6A8F22
secondary
#7652BA
accent
#43E57A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6A8F22

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

Preview Lab → · Contrast checker → · Palette generator →

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