#6FA731#6FA731

#6FA731 is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 66.6% C 0.159 H 131.6°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#6FA731
RGBrgb(111, 167, 49)
HSLhsl(88, 55%, 42%)
HSVhsv(88, 71%, 65%)
CMYKcmyk(33.5%, 0%, 70.7%, 34.5%)
CIE-LABlab(62.71, -37.33, 52.53)
CIE-LCHlch(62.71, 64.44, 125.40°)
OKLaboklab(66.59% -0.1053 0.1187)
OKLCHoklch(66.59% 0.159 131.6)
XYZxyz(20.9284, 31.2379, 7.8320)
Luminance0.3124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA731 #6931A7
analogous
#A7A431 #6FA731 #34A731
triadic
#6FA731 #316FA7 #A7316F
tetradic
#6FA731 #31A7A4 #6931A7 #A73134
square
#6FA731 #31A7A4 #6931A7 #A73134
split-complementary
#6FA731 #3134A7 #A431A7
monochromatic
#304815 #507823 #6FA731 #8ECA4B #ACD87A

Accessibility & contrast

On white

2.90
#6FA731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#6FA731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FA731
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA731#FFFFFF#000000##000000
##6FA7311.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1E
Deuteranopia (green-blind)
#A7963C
Tritanopia (blue-blind)
#71A090
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6fa731;
/* rgb */ color: rgb(111, 167, 49);
/* oklch */ color: oklch(66.6% 0.159 131.6);
Tailwind
colors: {
  custom: {
    50: '#9dc170',
    500: '#6fa731',
    950: '#000000',
  },
}
SCSS
$custom: #6fa731;
$custom-light: #9dc170;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa731",
  "rgb": {
    "r": 111,
    "g": 167,
    "b": 49
  },
  "hsl": {
    "h": 88.475,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66591,
    "c": 0.1587,
    "h": 131.6
  },
  "luminance": 0.31239
}

Semantic roles & 50–950 ramp

primary
#6FA731
secondary
#9873C1
accent
#4ADE90
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0F1208
muted
#7E817B

Preview Lab

Preview with #6FA731

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

Preview Lab → · Contrast checker → · Palette generator →

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