#6A8620#6A8620

#6A8620 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.8% C 0.129 H 124.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6A8620
RGBrgb(106, 134, 32)
HSLhsl(76, 61%, 33%)
HSVhsv(76, 76%, 53%)
CMYKcmyk(20.9%, 0%, 76.1%, 47.5%)
CIE-LABlab(52.08, -24.89, 48.27)
CIE-LCHlch(52.08, 54.31, 117.28°)
OKLaboklab(57.85% -0.0725 0.1072)
OKLCHoklch(57.85% 0.129 124)
XYZxyz(14.7298, 20.2185, 4.4928)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8620 #3C2086
analogous
#866F20 #6A8620 #378620
triadic
#6A8620 #206A86 #86206A
tetradic
#6A8620 #20866F #3C2086 #862037
square
#6A8620 #20866F #3C2086 #862037
split-complementary
#6A8620 #203786 #6F2086
monochromatic
#1C2308 #435514 #6A8620 #91B72C #AFD44C

Accessibility & contrast

On white

4.16
#6A8620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#6A8620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8620
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8620#FFFFFF#000000##000000
##6A86201.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0A
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#6F7F73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6a8620;
/* rgb */ color: rgb(106, 134, 32);
/* oklch */ color: oklch(57.8% 0.129 124.0);
Tailwind
colors: {
  custom: {
    50: '#98a964',
    500: '#6a8620',
    950: '#000000',
  },
}
SCSS
$custom: #6a8620;
$custom-light: #98a964;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8620",
  "rgb": {
    "r": 106,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 76.471,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57846,
    "c": 0.12943,
    "h": 124
  },
  "luminance": 0.20219
}

Semantic roles & 50–950 ramp

primary
#6A8620
secondary
#684BB7
accent
#43E570
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6A8620

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

Preview Lab → · Contrast checker → · Palette generator →

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