#6FBA31#6FBA31

#6FBA31 is a light, vivid yellow-green. Relative luminance 0.387; OKLCH L 71.4% C 0.183 H 134.2°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#6FBA31
RGBrgb(111, 186, 49)
HSLhsl(93, 58%, 46%)
HSVhsv(93, 74%, 73%)
CMYKcmyk(40.3%, 0%, 73.7%, 27.1%)
CIE-LABlab(68.55, -45.49, 58.40)
CIE-LCHlch(68.55, 74.02, 127.92°)
OKLaboklab(71.36% -0.1274 0.131)
OKLCHoklch(71.36% 0.183 134.2)
XYZxyz(24.6684, 38.7178, 9.0786)
Luminance0.3872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FBA31 #7C31BA
analogous
#B3BA31 #6FBA31 #31BA37
triadic
#6FBA31 #316FBA #BA316F
tetradic
#6FBA31 #31B3BA #7C31BA #BA3731
square
#6FBA31 #31B3BA #7C31BA #BA3731
split-complementary
#6FBA31 #3731BA #BA31B3
monochromatic
#355917 #528A24 #6FBA31 #8ED256 #AEDF86

Accessibility & contrast

On white

2.40
#6FBA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#6FBA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FBA31
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FBA31#FFFFFF#000000##000000
##6FBA311.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB16
Deuteranopia (green-blind)
#B7A53F
Tritanopia (blue-blind)
#6EB3A0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #6fba31;
/* rgb */ color: rgb(111, 186, 49);
/* oklch */ color: oklch(71.4% 0.183 134.2);
Tailwind
colors: {
  custom: {
    50: '#9ecf72',
    500: '#6fba31',
    950: '#000000',
  },
}
SCSS
$custom: #6fba31;
$custom-light: #9ecf72;
$custom-dark: #000000;
JSON
{
  "hex": "#6fba31",
  "rgb": {
    "r": 111,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 92.847,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7136,
    "c": 0.18277,
    "h": 134.2
  },
  "luminance": 0.38719
}

Semantic roles & 50–950 ramp

primary
#6FBA31
secondary
#A77EC9
accent
#46E29B
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#0F1408
muted
#7F827B

Preview Lab

Preview with #6FBA31

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

Preview Lab → · Contrast checker → · Palette generator →

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