#6A971A#6A971A

#6A971A is a light, vivid yellow-green. Relative luminance 0.253; OKLCH L 62.1% C 0.154 H 128.5°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6A971A
RGBrgb(106, 151, 26)
HSLhsl(82, 71%, 35%)
HSVhsv(82, 83%, 59%)
CMYKcmyk(29.8%, 0%, 82.8%, 40.8%)
CIE-LABlab(57.34, -33.32, 55.07)
CIE-LCHlch(57.34, 64.37, 121.18°)
OKLaboklab(62.1% -0.0958 0.1206)
OKLCHoklch(62.1% 0.154 128.5)
XYZxyz(17.1969, 25.2715, 4.9489)
Luminance0.2527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A971A #471A97
analogous
#97861A #6A971A #2C971A
triadic
#6A971A #1A6A97 #971A6A
tetradic
#6A971A #1A9786 #471A97 #971A2C
square
#6A971A #1A9786 #471A97 #971A2C
split-complementary
#6A971A #1A2C97 #861A97
monochromatic
#212F08 #456311 #6A971A #8FCB23 #ABE04B

Accessibility & contrast

On white

3.47
#6A971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#6A971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A971A
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A971A#FFFFFF#000000##000000
##6A971A1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#998928
Tritanopia (blue-blind)
#6E9081
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6a971a;
/* rgb */ color: rgb(106, 151, 26);
/* oklch */ color: oklch(62.1% 0.154 128.5);
Tailwind
colors: {
  custom: {
    50: '#99b663',
    500: '#6a971a',
    950: '#000000',
  },
}
SCSS
$custom: #6a971a;
$custom-light: #99b663;
$custom-dark: #000000;
JSON
{
  "hex": "#6a971a",
  "rgb": {
    "r": 106,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 81.6,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62101,
    "c": 0.15401,
    "h": 128.5
  },
  "luminance": 0.25272
}

Semantic roles & 50–950 ramp

primary
#6A971A
secondary
#764BC2
accent
#3AED7B
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6A971A

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

Preview Lab → · Contrast checker → · Palette generator →

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