#6B8922#6B8922

#6B8922 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.7% C 0.132 H 124.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6B8922
RGBrgb(107, 137, 34)
HSLhsl(77, 60%, 34%)
HSVhsv(77, 75%, 54%)
CMYKcmyk(21.9%, 0%, 75.2%, 46.3%)
CIE-LABlab(53.09, -25.84, 48.54)
CIE-LCHlch(53.09, 54.99, 118.03°)
OKLaboklab(58.69% -0.0749 0.1081)
OKLCHoklch(58.69% 0.132 124.7)
XYZxyz(15.2979, 21.1324, 4.7861)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8922 #402289
analogous
#897322 #6B8922 #378922
triadic
#6B8922 #226B89 #89226B
tetradic
#6B8922 #228973 #402289 #892237
square
#6B8922 #228973 #402289 #892237
split-complementary
#6B8922 #223789 #732289
monochromatic
#1E270A #455816 #6B8922 #91BA2E #AED451

Accessibility & contrast

On white

4.02
#6B8922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#6B8922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8922
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8922#FFFFFF#000000##000000
##6B89221.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800E
Deuteranopia (green-blind)
#8D7E2B
Tritanopia (blue-blind)
#708275
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6b8922;
/* rgb */ color: rgb(107, 137, 34);
/* oklch */ color: oklch(58.7% 0.132 124.7);
Tailwind
colors: {
  custom: {
    50: '#99ab65',
    500: '#6b8922',
    950: '#000000',
  },
}
SCSS
$custom: #6b8922;
$custom-light: #99ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8922",
  "rgb": {
    "r": 107,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 77.476,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58686,
    "c": 0.13156,
    "h": 124.7
  },
  "luminance": 0.21133
}

Semantic roles & 50–950 ramp

primary
#6B8922
secondary
#6E4FB8
accent
#44E373
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B8922

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

Preview Lab → · Contrast checker → · Palette generator →

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