#6B8F22#6B8F22

#6B8F22 is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 60.2% C 0.139 H 126.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#6B8F22
RGBrgb(107, 143, 34)
HSLhsl(80, 62%, 35%)
HSVhsv(80, 76%, 56%)
CMYKcmyk(25.2%, 0%, 76.2%, 43.9%)
CIE-LABlab(54.95, -28.76, 50.34)
CIE-LCHlch(54.95, 57.98, 119.74°)
OKLaboklab(60.19% -0.0829 0.1119)
OKLCHoklch(60.19% 0.139 126.5)
XYZxyz(16.1747, 22.8859, 5.0783)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8F22 #46228F
analogous
#8F7D22 #6B8F22 #348F22
triadic
#6B8F22 #226B8F #8F226B
tetradic
#6B8F22 #228F7D #46228F #8F2234
square
#6B8F22 #228F7D #46228F #8F2234
split-complementary
#6B8F22 #22348F #7D228F
monochromatic
#212C0A #465E16 #6B8F22 #90C02E #ACD755

Accessibility & contrast

On white

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

On black

5.58
#6B8F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8F22
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8F22#FFFFFF#000000##000000
##6B8F221.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850A
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#70887A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6b8f22;
/* rgb */ color: rgb(107, 143, 34);
/* oklch */ color: oklch(60.2% 0.139 126.5);
Tailwind
colors: {
  custom: {
    50: '#99b066',
    500: '#6b8f22',
    950: '#000000',
  },
}
SCSS
$custom: #6b8f22;
$custom-light: #99b066;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8f22",
  "rgb": {
    "r": 107,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 79.817,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60193,
    "c": 0.13927,
    "h": 126.5
  },
  "luminance": 0.22886
}

Semantic roles & 50–950 ramp

primary
#6B8F22
secondary
#7552BA
accent
#43E578
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B8F22

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

Preview Lab → · Contrast checker → · Palette generator →

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