#6CAA31#6CAA31

#6CAA31 is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.2% C 0.164 H 132.9°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6CAA31
RGBrgb(108, 170, 49)
HSLhsl(91, 55%, 43%)
HSVhsv(91, 71%, 67%)
CMYKcmyk(36.5%, 0%, 71.2%, 33.3%)
CIE-LABlab(63.47, -39.75, 53.26)
CIE-LCHlch(63.47, 66.45, 126.73°)
OKLaboklab(67.17% -0.1117 0.1203)
OKLCHoklch(67.17% 0.164 132.9)
XYZxyz(21.1131, 32.1584, 7.9999)
Luminance0.3216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CAA31 #6F31AA
analogous
#A8AA31 #6CAA31 #31AA33
triadic
#6CAA31 #316CAA #AA316C
tetradic
#6CAA31 #31A8AA #6F31AA #AA3331
square
#6CAA31 #31A8AA #6F31AA #AA3331
split-complementary
#6CAA31 #3331AA #AA31A8
monochromatic
#304B16 #4E7A23 #6CAA31 #8BCC4D #AAD97C

Accessibility & contrast

On white

2.83
#6CAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#6CAA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CAA31
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CAA31#FFFFFF#000000##000000
##6CAA311.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1D
Deuteranopia (green-blind)
#A8983C
Tritanopia (blue-blind)
#6DA392
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #6caa31;
/* rgb */ color: rgb(108, 170, 49);
/* oklch */ color: oklch(67.2% 0.164 132.9);
Tailwind
colors: {
  custom: {
    50: '#9bc371',
    500: '#6caa31',
    950: '#000000',
  },
}
SCSS
$custom: #6caa31;
$custom-light: #9bc371;
$custom-dark: #000000;
JSON
{
  "hex": "#6caa31",
  "rgb": {
    "r": 108,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 90.744,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67173,
    "c": 0.16416,
    "h": 132.9
  },
  "luminance": 0.32159
}

Semantic roles & 50–950 ramp

primary
#6CAA31
secondary
#9C75C2
accent
#49DF96
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0F1208
muted
#7E817B

Preview Lab

Preview with #6CAA31

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

Preview Lab → · Contrast checker → · Palette generator →

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