#6A8420#6A8420

#6A8420 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.3% C 0.127 H 123.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#6A8420
RGBrgb(106, 132, 32)
HSLhsl(76, 61%, 32%)
HSVhsv(76, 76%, 52%)
CMYKcmyk(19.7%, 0%, 75.8%, 48.2%)
CIE-LABlab(51.46, -23.89, 47.68)
CIE-LCHlch(51.46, 53.33, 116.62°)
OKLaboklab(57.35% -0.0697 0.106)
OKLCHoklch(57.35% 0.127 123.3)
XYZxyz(14.4560, 19.6709, 4.4015)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8420 #3A2084
analogous
#846C20 #6A8420 #388420
triadic
#6A8420 #206A84 #84206A
tetradic
#6A8420 #20846C #3A2084 #842038
square
#6A8420 #20846C #3A2084 #842038
split-complementary
#6A8420 #203884 #6C2084
monochromatic
#1B2108 #425314 #6A8420 #92B52C #B0D34B

Accessibility & contrast

On white

4.26
#6A8420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#6A8420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8420
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8420#FFFFFF#000000##000000
##6A84201.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0C
Deuteranopia (green-blind)
#897A29
Tritanopia (blue-blind)
#707D71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6a8420;
/* rgb */ color: rgb(106, 132, 32);
/* oklch */ color: oklch(57.3% 0.127 123.3);
Tailwind
colors: {
  custom: {
    50: '#98a763',
    500: '#6a8420',
    950: '#000000',
  },
}
SCSS
$custom: #6a8420;
$custom-light: #98a763;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8420",
  "rgb": {
    "r": 106,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 75.6,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57345,
    "c": 0.12686,
    "h": 123.3
  },
  "luminance": 0.19671
}

Semantic roles & 50–950 ramp

primary
#6A8420
secondary
#664AB6
accent
#44E46D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6A8420

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

Preview Lab → · Contrast checker → · Palette generator →

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