#6A971D#6A971D

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

Color values

HEX#6A971D
RGBrgb(106, 151, 29)
HSLhsl(82, 68%, 35%)
HSVhsv(82, 81%, 59%)
CMYKcmyk(29.8%, 0%, 80.8%, 40.8%)
CIE-LABlab(57.35, -33.19, 54.21)
CIE-LCHlch(57.35, 63.56, 121.47°)
OKLaboklab(62.12% -0.0953 0.1192)
OKLCHoklch(62.12% 0.153 128.6)
XYZxyz(17.2322, 25.2856, 5.1349)
Luminance0.2529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A971D #4A1D97
analogous
#97871D #6A971D #2D971D
triadic
#6A971D #1D6A97 #971D6A
tetradic
#6A971D #1D9787 #4A1D97 #971D2D
square
#6A971D #1D9787 #4A1D97 #971D2D
split-complementary
#6A971D #1D2D97 #871D97
monochromatic
#223009 #466413 #6A971D #8ECA27 #AADE51

Accessibility & contrast

On white

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

On black

6.06
#6A971D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A971D
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A971D#FFFFFF#000000##000000
##6A971D1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a971d;
/* rgb */ color: rgb(106, 151, 29);
/* oklch */ color: oklch(62.1% 0.153 128.6);
Tailwind
colors: {
  custom: {
    50: '#99b665',
    500: '#6a971d',
    950: '#000000',
  },
}
SCSS
$custom: #6a971d;
$custom-light: #99b665;
$custom-dark: #000000;
JSON
{
  "hex": "#6a971d",
  "rgb": {
    "r": 106,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 82.131,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62117,
    "c": 0.15262,
    "h": 128.6
  },
  "luminance": 0.25286
}

Semantic roles & 50–950 ramp

primary
#6A971D
secondary
#794FC0
accent
#3DEB7D
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6A971D

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

Preview Lab → · Contrast checker → · Palette generator →

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