#6FAC31#6FAC31

#6FAC31 is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 67.8% C 0.165 H 132.4°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#6FAC31
RGBrgb(111, 172, 49)
HSLhsl(90, 56%, 43%)
HSVhsv(90, 72%, 67%)
CMYKcmyk(35.5%, 0%, 71.5%, 32.5%)
CIE-LABlab(64.25, -39.54, 54.09)
CIE-LCHlch(64.25, 67.00, 126.16°)
OKLaboklab(67.85% -0.1113 0.122)
OKLCHoklch(67.85% 0.165 132.4)
XYZxyz(21.8622, 33.1054, 8.1432)
Luminance0.3311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FAC31 #6E31AC
analogous
#ACAB31 #6FAC31 #31AC31
triadic
#6FAC31 #316FAC #AC316F
tetradic
#6FAC31 #31ACAB #6E31AC #AC3131
square
#6FAC31 #31ACAB #6E31AC #AC3131
split-complementary
#6FAC31 #3131AC #AB31AC
monochromatic
#324D16 #507C23 #6FAC31 #8ECC4E #ACDA7D

Accessibility & contrast

On white

2.76
#6FAC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#6FAC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FAC31
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FAC31#FFFFFF#000000##000000
##6FAC311.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1C
Deuteranopia (green-blind)
#AB9A3C
Tritanopia (blue-blind)
#70A594
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #6fac31;
/* rgb */ color: rgb(111, 172, 49);
/* oklch */ color: oklch(67.8% 0.165 132.4);
Tailwind
colors: {
  custom: {
    50: '#9dc571',
    500: '#6fac31',
    950: '#000000',
  },
}
SCSS
$custom: #6fac31;
$custom-light: #9dc571;
$custom-dark: #000000;
JSON
{
  "hex": "#6fac31",
  "rgb": {
    "r": 111,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 89.756,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.67846,
    "c": 0.16515,
    "h": 132.4
  },
  "luminance": 0.33106
}

Semantic roles & 50–950 ramp

primary
#6FAC31
secondary
#9C76C3
accent
#49DF93
background
#FAFCF7
surface
#F3F8ED
border
#CDD1C8
text
#0F1308
muted
#7F827B

Preview Lab

Preview with #6FAC31

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

Preview Lab → · Contrast checker → · Palette generator →

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