#6AB31C#6AB31C

#6AB31C is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.2% C 0.187 H 133.3°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#6AB31C
RGBrgb(106, 179, 28)
HSLhsl(89, 73%, 41%)
HSVhsv(89, 84%, 70%)
CMYKcmyk(40.8%, 0%, 84.4%, 29.8%)
CIE-LABlab(66.05, -45.40, 62.29)
CIE-LCHlch(66.05, 77.08, 126.09°)
OKLaboklab(69.22% -0.1282 0.1362)
OKLCHoklch(69.22% 0.187 133.3)
XYZxyz(22.2732, 35.3871, 6.7552)
Luminance0.3539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6AB31C #651CB3
analogous
#B3B11C #6AB31C #1EB31C
triadic
#6AB31C #1C6AB3 #B31C6A
tetradic
#6AB31C #1CB3B1 #651CB3 #B31C1E
square
#6AB31C #1CB3B1 #651CB3 #B31C1E
split-complementary
#6AB31C #1C1EB3 #B11CB3
monochromatic
#2B490B #4B7E14 #6AB31C #89DE2E #A7E763

Accessibility & contrast

On white

2.60
#6AB31C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#6AB31C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6AB31C
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6AB31C#FFFFFF#000000##000000
##6AB31C1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA400
Deuteranopia (green-blind)
#B19E2F
Tritanopia (blue-blind)
#6AAC98
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #6ab31c;
/* rgb */ color: rgb(106, 179, 28);
/* oklch */ color: oklch(69.2% 0.187 133.3);
Tailwind
colors: {
  custom: {
    50: '#9bca68',
    500: '#6ab31c',
    950: '#000000',
  },
}
SCSS
$custom: #6ab31c;
$custom-light: #9bca68;
$custom-dark: #000000;
JSON
{
  "hex": "#6ab31c",
  "rgb": {
    "r": 106,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 89.007,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69218,
    "c": 0.18702,
    "h": 133.3
  },
  "luminance": 0.35388
}

Semantic roles & 50–950 ramp

primary
#6AB31C
secondary
#945FCB
accent
#38F091
background
#FAFCF6
surface
#F3F8EB
border
#CDD1C6
text
#0F1307
muted
#7F827A

Preview Lab

Preview with #6AB31C

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

Preview Lab → · Contrast checker → · Palette generator →

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