#6FA831#6FA831

#6FA831 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 66.8% C 0.160 H 131.7°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#6FA831
RGBrgb(111, 168, 49)
HSLhsl(89, 55%, 43%)
HSVhsv(89, 71%, 66%)
CMYKcmyk(33.9%, 0%, 70.8%, 34.1%)
CIE-LABlab(63.02, -37.78, 52.84)
CIE-LCHlch(63.02, 64.95, 125.56°)
OKLaboklab(66.84% -0.1065 0.1194)
OKLCHoklch(66.84% 0.16 131.7)
XYZxyz(21.1123, 31.6057, 7.8933)
Luminance0.3161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA831 #6A31A8
analogous
#A8A531 #6FA831 #34A831
triadic
#6FA831 #316FA8 #A8316F
tetradic
#6FA831 #31A8A5 #6A31A8 #A83134
square
#6FA831 #31A8A5 #6A31A8 #A83134
split-complementary
#6FA831 #3134A8 #A531A8
monochromatic
#304915 #507923 #6FA831 #8ECB4C #ACD87B

Accessibility & contrast

On white

2.87
#6FA831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#6FA831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FA831
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA831#FFFFFF#000000##000000
##6FA8311.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1E
Deuteranopia (green-blind)
#A7973C
Tritanopia (blue-blind)
#71A190
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6fa831;
/* rgb */ color: rgb(111, 168, 49);
/* oklch */ color: oklch(66.8% 0.160 131.7);
Tailwind
colors: {
  custom: {
    50: '#9dc270',
    500: '#6fa831',
    950: '#000000',
  },
}
SCSS
$custom: #6fa831;
$custom-light: #9dc270;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa831",
  "rgb": {
    "r": 111,
    "g": 168,
    "b": 49
  },
  "hsl": {
    "h": 88.739,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66842,
    "c": 0.16,
    "h": 131.7
  },
  "luminance": 0.31607
}

Semantic roles & 50–950 ramp

primary
#6FA831
secondary
#9974C1
accent
#4ADE91
background
#FAFBF7
surface
#F3F7ED
border
#CDD0C8
text
#0F1208
muted
#7F817B

Preview Lab

Preview with #6FA831

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

Preview Lab → · Contrast checker → · Palette generator →

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