#6D8A22#6D8A22

#6D8A22 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 59.1% C 0.132 H 124.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6D8A22
RGBrgb(109, 138, 34)
HSLhsl(77, 60%, 34%)
HSVhsv(77, 75%, 54%)
CMYKcmyk(21%, 0%, 75.4%, 45.9%)
CIE-LABlab(53.54, -25.49, 49.02)
CIE-LCHlch(53.54, 55.25, 117.47°)
OKLaboklab(59.08% -0.0741 0.1091)
OKLCHoklch(59.08% 0.132 124.2)
XYZxyz(15.6840, 21.5435, 4.8451)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8A22 #3F228A
analogous
#8A7322 #6D8A22 #398A22
triadic
#6D8A22 #226D8A #8A226D
tetradic
#6D8A22 #228A73 #3F228A #8A2239
square
#6D8A22 #228A73 #3F228A #8A2239
split-complementary
#6D8A22 #22398A #73228A
monochromatic
#1F280A #465916 #6D8A22 #94BB2E #B0D452

Accessibility & contrast

On white

3.96
#6D8A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#6D8A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8A22
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8A22#FFFFFF#000000##000000
##6D8A221.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810D
Deuteranopia (green-blind)
#8E802B
Tritanopia (blue-blind)
#728376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6d8a22;
/* rgb */ color: rgb(109, 138, 34);
/* oklch */ color: oklch(59.1% 0.132 124.2);
Tailwind
colors: {
  custom: {
    50: '#9aac65',
    500: '#6d8a22',
    950: '#000000',
  },
}
SCSS
$custom: #6d8a22;
$custom-light: #9aac65;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8a22",
  "rgb": {
    "r": 109,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 76.731,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59081,
    "c": 0.13187,
    "h": 124.2
  },
  "luminance": 0.21544
}

Semantic roles & 50–950 ramp

primary
#6D8A22
secondary
#6D50B8
accent
#44E471
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6D8A22

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

Preview Lab → · Contrast checker → · Palette generator →

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