#6A8520#6A8520

#6A8520 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.6% C 0.128 H 123.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6A8520
RGBrgb(106, 133, 32)
HSLhsl(76, 61%, 32%)
HSVhsv(76, 76%, 52%)
CMYKcmyk(20.3%, 0%, 75.9%, 47.8%)
CIE-LABlab(51.77, -24.39, 47.98)
CIE-LCHlch(51.77, 53.82, 116.95°)
OKLaboklab(57.6% -0.0711 0.1066)
OKLCHoklch(57.6% 0.128 123.7)
XYZxyz(14.5923, 19.9434, 4.4469)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8520 #3B2085
analogous
#856E20 #6A8520 #378520
triadic
#6A8520 #206A85 #85206A
tetradic
#6A8520 #20856E #3B2085 #852037
square
#6A8520 #20856E #3B2085 #852037
split-complementary
#6A8520 #203785 #6E2085
monochromatic
#1B2208 #435414 #6A8520 #91B62C #AFD44C

Accessibility & contrast

On white

4.21
#6A8520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#6A8520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8520
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8520#FFFFFF#000000##000000
##6A85201.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0B
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#6F7E72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6a8520;
/* rgb */ color: rgb(106, 133, 32);
/* oklch */ color: oklch(57.6% 0.128 123.7);
Tailwind
colors: {
  custom: {
    50: '#98a863',
    500: '#6a8520',
    950: '#000000',
  },
}
SCSS
$custom: #6a8520;
$custom-light: #98a863;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8520",
  "rgb": {
    "r": 106,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 76.04,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57595,
    "c": 0.12814,
    "h": 123.7
  },
  "luminance": 0.19944
}

Semantic roles & 50–950 ramp

primary
#6A8520
secondary
#674AB7
accent
#43E46E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6A8520

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

Preview Lab → · Contrast checker → · Palette generator →

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