#6AAA31#6AAA31

#6AAA31 is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 67.1% C 0.165 H 133.4°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#6AAA31
RGBrgb(106, 170, 49)
HSLhsl(92, 55%, 43%)
HSVhsv(92, 71%, 67%)
CMYKcmyk(37.6%, 0%, 71.2%, 33.3%)
CIE-LABlab(63.37, -40.46, 53.12)
CIE-LCHlch(63.37, 66.77, 127.29°)
OKLaboklab(67.06% -0.1135 0.12)
OKLCHoklch(67.06% 0.165 133.4)
XYZxyz(20.8726, 32.0344, 7.9886)
Luminance0.3204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6AAA31 #7131AA
analogous
#A6AA31 #6AAA31 #31AA35
triadic
#6AAA31 #316AAA #AA316A
tetradic
#6AAA31 #31A6AA #7131AA #AA3531
square
#6AAA31 #31A6AA #7131AA #AA3531
split-complementary
#6AAA31 #3531AA #AA31A6
monochromatic
#2F4B16 #4C7A23 #6AAA31 #88CC4D #A8D97C

Accessibility & contrast

On white

2.84
#6AAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#6AAA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6AAA31
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6AAA31#FFFFFF#000000##000000
##6AAA311.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1D
Deuteranopia (green-blind)
#A8983C
Tritanopia (blue-blind)
#6AA392
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6aaa31;
/* rgb */ color: rgb(106, 170, 49);
/* oklch */ color: oklch(67.1% 0.165 133.4);
Tailwind
colors: {
  custom: {
    50: '#9ac471',
    500: '#6aaa31',
    950: '#000000',
  },
}
SCSS
$custom: #6aaa31;
$custom-light: #9ac471;
$custom-dark: #000000;
JSON
{
  "hex": "#6aaa31",
  "rgb": {
    "r": 106,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 91.736,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67062,
    "c": 0.16521,
    "h": 133.4
  },
  "luminance": 0.32035
}

Semantic roles & 50–950 ramp

primary
#6AAA31
secondary
#9E75C2
accent
#49DF98
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1208
muted
#7E817B

Preview Lab

Preview with #6AAA31

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

Preview Lab → · Contrast checker → · Palette generator →

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