#6A8822#6A8822

#6A8822 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.4% C 0.131 H 124.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6A8822
RGBrgb(106, 136, 34)
HSLhsl(78, 60%, 33%)
HSVhsv(78, 75%, 53%)
CMYKcmyk(22.1%, 0%, 75%, 46.7%)
CIE-LABlab(52.72, -25.77, 48.15)
CIE-LCHlch(52.72, 54.62, 118.15°)
OKLaboklab(58.36% -0.0747 0.1073)
OKLCHoklch(58.36% 0.131 124.8)
XYZxyz(15.0369, 20.7878, 4.7333)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8822 #402288
analogous
#887322 #6A8822 #378822
triadic
#6A8822 #226A88 #88226A
tetradic
#6A8822 #228873 #402288 #882237
square
#6A8822 #228873 #402288 #882237
split-complementary
#6A8822 #223788 #732288
monochromatic
#1E260A #445716 #6A8822 #90B92E #ADD351

Accessibility & contrast

On white

4.07
#6A8822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#6A8822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8822
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8822#FFFFFF#000000##000000
##6A88221.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0E
Deuteranopia (green-blind)
#8C7D2B
Tritanopia (blue-blind)
#6F8174
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6a8822;
/* rgb */ color: rgb(106, 136, 34);
/* oklch */ color: oklch(58.4% 0.131 124.8);
Tailwind
colors: {
  custom: {
    50: '#98aa65',
    500: '#6a8822',
    950: '#000000',
  },
}
SCSS
$custom: #6a8822;
$custom-light: #98aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8822",
  "rgb": {
    "r": 106,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 77.647,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58362,
    "c": 0.13075,
    "h": 124.8
  },
  "luminance": 0.20788
}

Semantic roles & 50–950 ramp

primary
#6A8822
secondary
#6D4FB7
accent
#45E373
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6A8822

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

Preview Lab → · Contrast checker → · Palette generator →

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