#6AA227#6AA227

#6AA227 is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 65.0% C 0.161 H 131.4°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#6AA227
RGBrgb(106, 162, 39)
HSLhsl(87, 61%, 39%)
HSVhsv(87, 76%, 64%)
CMYKcmyk(34.6%, 0%, 75.9%, 36.5%)
CIE-LABlab(60.83, -37.62, 54.24)
CIE-LCHlch(60.83, 66.01, 124.74°)
OKLaboklab(64.96% -0.1065 0.1209)
OKLCHoklch(64.96% 0.161 131.4)
XYZxyz(19.2302, 29.0506, 6.5132)
Luminance0.2905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6AA227 #5F27A2
analogous
#A29D27 #6AA227 #2DA227
triadic
#6AA227 #276AA2 #A2276A
tetradic
#6AA227 #27A29D #5F27A2 #A2272D
square
#6AA227 #27A29D #5F27A2 #A2272D
split-complementary
#6AA227 #272DA2 #9D27A2
monochromatic
#293F0F #4A711B #6AA227 #8ACF37 #A7DB69

Accessibility & contrast

On white

3.08
#6AA227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#6AA227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6AA227
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6AA227#FFFFFF#000000##000000
##6AA2271.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9950B
Deuteranopia (green-blind)
#A29133
Tritanopia (blue-blind)
#6C9B8B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #6aa227;
/* rgb */ color: rgb(106, 162, 39);
/* oklch */ color: oklch(65.0% 0.161 131.4);
Tailwind
colors: {
  custom: {
    50: '#99be6b',
    500: '#6aa227',
    950: '#000000',
  },
}
SCSS
$custom: #6aa227;
$custom-light: #99be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#6aa227",
  "rgb": {
    "r": 106,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 87.317,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64964,
    "c": 0.16114,
    "h": 131.4
  },
  "luminance": 0.29051
}

Semantic roles & 50–950 ramp

primary
#6AA227
secondary
#8E64C1
accent
#43E48D
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6AA227

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

Preview Lab → · Contrast checker → · Palette generator →

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