#6A8022#6A8022

#6A8022 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.4% C 0.120 H 121.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#6A8022
RGBrgb(106, 128, 34)
HSLhsl(74, 58%, 32%)
HSVhsv(74, 73%, 50%)
CMYKcmyk(17.2%, 0%, 73.4%, 49.8%)
CIE-LABlab(50.24, -21.75, 45.72)
CIE-LCHlch(50.24, 50.63, 115.44°)
OKLaboklab(56.36% -0.0636 0.1022)
OKLCHoklch(56.36% 0.12 121.9)
XYZxyz(13.9520, 18.6180, 4.3717)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8022 #382280
analogous
#806722 #6A8022 #3B8022
triadic
#6A8022 #226A80 #80226A
tetradic
#6A8022 #228067 #382280 #80223B
square
#6A8022 #228067 #382280 #80223B
split-complementary
#6A8022 #223B80 #672280
monochromatic
#1A1F08 #425015 #6A8022 #92B02F #B1D04D

Accessibility & contrast

On white

4.45
#6A8022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#6A8022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8022
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8022#FFFFFF#000000##000000
##6A80221.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887812
Deuteranopia (green-blind)
#85782A
Tritanopia (blue-blind)
#70796E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6a8022;
/* rgb */ color: rgb(106, 128, 34);
/* oklch */ color: oklch(56.4% 0.120 121.9);
Tailwind
colors: {
  custom: {
    50: '#97a464',
    500: '#6a8022',
    950: '#000000',
  },
}
SCSS
$custom: #6a8022;
$custom-light: #97a464;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8022",
  "rgb": {
    "r": 106,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 74.043,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56359,
    "c": 0.12041,
    "h": 121.9
  },
  "luminance": 0.18618
}

Semantic roles & 50–950 ramp

primary
#6A8022
secondary
#634BB2
accent
#47E16B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6A8022

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

Preview Lab → · Contrast checker → · Palette generator →

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