#6AA81F#6AA81F

#6AA81F is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 66.4% C 0.173 H 131.9°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6AA81F
RGBrgb(106, 168, 31)
HSLhsl(87, 69%, 39%)
HSVhsv(87, 82%, 66%)
CMYKcmyk(36.9%, 0%, 81.5%, 34.1%)
CIE-LABlab(62.65, -40.65, 58.46)
CIE-LCHlch(62.65, 71.20, 124.81°)
OKLaboklab(66.44% -0.1153 0.1285)
OKLCHoklch(66.44% 0.173 131.9)
XYZxyz(20.1936, 31.1675, 6.2480)
Luminance0.3117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6AA81F #5D1FA8
analogous
#A8A21F #6AA81F #26A81F
triadic
#6AA81F #1F6AA8 #A81F6A
tetradic
#6AA81F #1FA8A2 #5D1FA8 #A81F26
square
#6AA81F #1FA8A2 #5D1FA8 #A81F26
split-complementary
#6AA81F #1F26A8 #A21FA8
monochromatic
#29410C #497415 #6AA81F #8AD82C #A7E260

Accessibility & contrast

On white

2.90
#6AA81F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#6AA81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6AA81F
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6AA81F#FFFFFF#000000##000000
##6AA81F1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B00
Deuteranopia (green-blind)
#A7962F
Tritanopia (blue-blind)
#6BA18F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6aa81f;
/* rgb */ color: rgb(106, 168, 31);
/* oklch */ color: oklch(66.4% 0.173 131.9);
Tailwind
colors: {
  custom: {
    50: '#9ac268',
    500: '#6aa81f',
    950: '#000000',
  },
}
SCSS
$custom: #6aa81f;
$custom-light: #9ac268;
$custom-dark: #000000;
JSON
{
  "hex": "#6aa81f",
  "rgb": {
    "r": 106,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 87.153,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66439,
    "c": 0.17264,
    "h": 131.9
  },
  "luminance": 0.31168
}

Semantic roles & 50–950 ramp

primary
#6AA81F
secondary
#8C5DC6
accent
#3CEC8C
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0F1207
muted
#7E817A

Preview Lab

Preview with #6AA81F

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

Preview Lab → · Contrast checker → · Palette generator →

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