#6AA71F#6AA71F

#6AA71F is a light, vivid yellow-green. Relative luminance 0.308; OKLCH L 66.2% C 0.171 H 131.7°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#6AA71F
RGBrgb(106, 167, 31)
HSLhsl(87, 69%, 39%)
HSVhsv(87, 81%, 65%)
CMYKcmyk(36.5%, 0%, 81.4%, 34.5%)
CIE-LABlab(62.34, -40.22, 58.18)
CIE-LCHlch(62.34, 70.73, 124.66°)
OKLaboklab(66.19% -0.1141 0.1279)
OKLCHoklch(66.19% 0.171 131.7)
XYZxyz(20.0097, 30.7997, 6.1867)
Luminance0.3080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6AA71F #5C1FA7
analogous
#A7A01F #6AA71F #26A71F
triadic
#6AA71F #1F6AA7 #A71F6A
tetradic
#6AA71F #1FA7A0 #5C1FA7 #A71F26
square
#6AA71F #1FA7A0 #5C1FA7 #A71F26
split-complementary
#6AA71F #1F26A7 #A01FA7
monochromatic
#28400C #497315 #6AA71F #8AD82B #A7E15F

Accessibility & contrast

On white

2.93
#6AA71F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#6AA71F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6AA71F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6AA71F#FFFFFF#000000##000000
##6AA71F1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#A6952F
Tritanopia (blue-blind)
#6CA08E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6aa71f;
/* rgb */ color: rgb(106, 167, 31);
/* oklch */ color: oklch(66.2% 0.171 131.7);
Tailwind
colors: {
  custom: {
    50: '#9ac168',
    500: '#6aa71f',
    950: '#000000',
  },
}
SCSS
$custom: #6aa71f;
$custom-light: #9ac168;
$custom-dark: #000000;
JSON
{
  "hex": "#6aa71f",
  "rgb": {
    "r": 106,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 86.912,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66186,
    "c": 0.17143,
    "h": 131.7
  },
  "luminance": 0.30801
}

Semantic roles & 50–950 ramp

primary
#6AA71F
secondary
#8B5CC6
accent
#3CEC8B
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0F1207
muted
#7E817A

Preview Lab

Preview with #6AA71F

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

Preview Lab → · Contrast checker → · Palette generator →

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