#6B8D22#6B8D22

#6B8D22 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.7% C 0.137 H 126.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6B8D22
RGBrgb(107, 141, 34)
HSLhsl(79, 61%, 34%)
HSVhsv(79, 76%, 55%)
CMYKcmyk(24.1%, 0%, 75.9%, 44.7%)
CIE-LABlab(54.33, -27.80, 49.75)
CIE-LCHlch(54.33, 56.98, 119.19°)
OKLaboklab(59.69% -0.0803 0.1106)
OKLCHoklch(59.69% 0.137 126)
XYZxyz(15.8771, 22.2908, 4.9791)
Luminance0.2229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8D22 #44228D
analogous
#8D7A22 #6B8D22 #368D22
triadic
#6B8D22 #226B8D #8D226B
tetradic
#6B8D22 #228D7A #44228D #8D2236
square
#6B8D22 #228D7A #44228D #8D2236
split-complementary
#6B8D22 #22368D #7A228D
monochromatic
#202A0A #465C16 #6B8D22 #90BE2E #ACD654

Accessibility & contrast

On white

3.85
#6B8D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#6B8D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8D22
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8D22#FFFFFF#000000##000000
##6B8D221.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b8d22;
/* rgb */ color: rgb(107, 141, 34);
/* oklch */ color: oklch(59.7% 0.137 126.0);
Tailwind
colors: {
  custom: {
    50: '#99ae65',
    500: '#6b8d22',
    950: '#000000',
  },
}
SCSS
$custom: #6b8d22;
$custom-light: #99ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8d22",
  "rgb": {
    "r": 107,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 79.065,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5969,
    "c": 0.13671,
    "h": 126
  },
  "luminance": 0.22291
}

Semantic roles & 50–950 ramp

primary
#6B8D22
secondary
#7251B9
accent
#44E477
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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