#6A971F#6A971F

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

Color values

HEX#6A971F
RGBrgb(106, 151, 31)
HSLhsl(83, 66%, 36%)
HSVhsv(83, 79%, 59%)
CMYKcmyk(29.8%, 0%, 79.5%, 40.8%)
CIE-LABlab(57.36, -33.09, 53.60)
CIE-LCHlch(57.36, 62.99, 121.69°)
OKLaboklab(62.13% -0.0949 0.1183)
OKLCHoklch(62.13% 0.152 128.7)
XYZxyz(17.2578, 25.2959, 5.2694)
Luminance0.2530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A971F #4C1F97
analogous
#97881F #6A971F #2E971F
triadic
#6A971F #1F6A97 #971F6A
tetradic
#6A971F #1F9788 #4C1F97 #971F2E
square
#6A971F #1F9788 #4C1F97 #971F2E
split-complementary
#6A971F #1F2E97 #881F97
monochromatic
#23310A #466415 #6A971F #8ECA29 #A9DC54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A971F#FFFFFF#000000##000000
##6A971F1.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)
#98892C
Tritanopia (blue-blind)
#6E9081
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6a971f;
/* rgb */ color: rgb(106, 151, 31);
/* oklch */ color: oklch(62.1% 0.152 128.7);
Tailwind
colors: {
  custom: {
    50: '#99b665',
    500: '#6a971f',
    950: '#000000',
  },
}
SCSS
$custom: #6a971f;
$custom-light: #99b665;
$custom-dark: #000000;
JSON
{
  "hex": "#6a971f",
  "rgb": {
    "r": 106,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 82.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62128,
    "c": 0.15162,
    "h": 128.7
  },
  "luminance": 0.25296
}

Semantic roles & 50–950 ramp

primary
#6A971F
secondary
#7B52BF
accent
#3FE97F
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6A971F

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

Preview Lab → · Contrast checker → · Palette generator →

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