#6FAA31#6FAA31

#6FAA31 is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 67.3% C 0.163 H 132.1°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#6FAA31
RGBrgb(111, 170, 49)
HSLhsl(89, 55%, 43%)
HSVhsv(89, 71%, 67%)
CMYKcmyk(34.7%, 0%, 71.2%, 33.3%)
CIE-LABlab(63.63, -38.66, 53.47)
CIE-LCHlch(63.63, 65.98, 125.87°)
OKLaboklab(67.34% -0.1089 0.1207)
OKLCHoklch(67.34% 0.163 132.1)
XYZxyz(21.4844, 32.3499, 8.0173)
Luminance0.3235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FAA31 #6C31AA
analogous
#AAA831 #6FAA31 #33AA31
triadic
#6FAA31 #316FAA #AA316F
tetradic
#6FAA31 #31AAA8 #6C31AA #AA3133
square
#6FAA31 #31AAA8 #6C31AA #AA3133
split-complementary
#6FAA31 #3133AA #A831AA
monochromatic
#314B16 #507A23 #6FAA31 #8ECC4D #ACD97C

Accessibility & contrast

On white

2.81
#6FAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#6FAA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FAA31
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FAA31#FFFFFF#000000##000000
##6FAA311.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1D
Deuteranopia (green-blind)
#A9993C
Tritanopia (blue-blind)
#70A392
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #6faa31;
/* rgb */ color: rgb(111, 170, 49);
/* oklch */ color: oklch(67.3% 0.163 132.1);
Tailwind
colors: {
  custom: {
    50: '#9dc371',
    500: '#6faa31',
    950: '#000000',
  },
}
SCSS
$custom: #6faa31;
$custom-light: #9dc371;
$custom-dark: #000000;
JSON
{
  "hex": "#6faa31",
  "rgb": {
    "r": 111,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 89.256,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67344,
    "c": 0.16258,
    "h": 132.1
  },
  "luminance": 0.32351
}

Semantic roles & 50–950 ramp

primary
#6FAA31
secondary
#9A75C2
accent
#49DF92
background
#FAFCF7
surface
#F3F8ED
border
#CDD1C8
text
#0F1208
muted
#7F817B

Preview Lab

Preview with #6FAA31

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

Preview Lab → · Contrast checker → · Palette generator →

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