#6D8D22#6D8D22

#6D8D22 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.8% C 0.136 H 125.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6D8D22
RGBrgb(109, 141, 34)
HSLhsl(78, 61%, 34%)
HSVhsv(78, 76%, 55%)
CMYKcmyk(22.7%, 0%, 75.9%, 44.7%)
CIE-LABlab(54.47, -26.96, 49.92)
CIE-LCHlch(54.47, 56.74, 118.38°)
OKLaboklab(59.83% -0.0781 0.111)
OKLCHoklch(59.83% 0.136 125.2)
XYZxyz(16.1204, 22.4163, 4.9905)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8D22 #42228D
analogous
#8D7822 #6D8D22 #388D22
triadic
#6D8D22 #226D8D #8D226D
tetradic
#6D8D22 #228D78 #42228D #8D2238
square
#6D8D22 #228D78 #42228D #8D2238
split-complementary
#6D8D22 #22388D #78228D
monochromatic
#212A0A #475C16 #6D8D22 #93BE2E #AFD654

Accessibility & contrast

On white

3.83
#6D8D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#6D8D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8D22
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8D22#FFFFFF#000000##000000
##6D8D221.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830B
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#728679
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6d8d22;
/* rgb */ color: rgb(109, 141, 34);
/* oklch */ color: oklch(59.8% 0.136 125.2);
Tailwind
colors: {
  custom: {
    50: '#9aae65',
    500: '#6d8d22',
    950: '#000000',
  },
}
SCSS
$custom: #6d8d22;
$custom-light: #9aae65;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8d22",
  "rgb": {
    "r": 109,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 77.944,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59831,
    "c": 0.13571,
    "h": 125.2
  },
  "luminance": 0.22416
}

Semantic roles & 50–950 ramp

primary
#6D8D22
secondary
#7051B9
accent
#44E474
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6D8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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