#6FA227#6FA227

#6FA227 is a light, vivid yellow-green. Relative luminance 0.294; OKLCH L 65.3% C 0.159 H 129.9°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#6FA227
RGBrgb(111, 162, 39)
HSLhsl(85, 61%, 39%)
HSVhsv(85, 76%, 64%)
CMYKcmyk(31.5%, 0%, 75.9%, 36.5%)
CIE-LABlab(61.10, -35.73, 54.60)
CIE-LCHlch(61.10, 65.26, 123.20°)
OKLaboklab(65.26% -0.1017 0.1216)
OKLCHoklch(65.26% 0.159 129.9)
XYZxyz(19.8420, 29.3660, 6.5419)
Luminance0.2937 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA227 #5A27A2
analogous
#A29827 #6FA227 #32A227
triadic
#6FA227 #276FA2 #A2276F
tetradic
#6FA227 #27A298 #5A27A2 #A22732
square
#6FA227 #27A298 #5A27A2 #A22732
split-complementary
#6FA227 #2732A2 #9827A2
monochromatic
#2B3F0F #4D711B #6FA227 #90CF37 #ABDB69

Accessibility & contrast

On white

3.06
#6FA227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#6FA227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6FA227
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA227#FFFFFF#000000##000000
##6FA2271.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA960B
Deuteranopia (green-blind)
#A39233
Tritanopia (blue-blind)
#729B8B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #6fa227;
/* rgb */ color: rgb(111, 162, 39);
/* oklch */ color: oklch(65.3% 0.159 129.9);
Tailwind
colors: {
  custom: {
    50: '#9dbe6b',
    500: '#6fa227',
    950: '#000000',
  },
}
SCSS
$custom: #6fa227;
$custom-light: #9dbe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa227",
  "rgb": {
    "r": 111,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 84.878,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65264,
    "c": 0.15852,
    "h": 129.9
  },
  "luminance": 0.29367
}

Semantic roles & 50–950 ramp

primary
#6FA227
secondary
#8A64C1
accent
#43E486
background
#FAFBF6
surface
#F3F6EC
border
#CDD0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #6FA227

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

Preview Lab → · Contrast checker → · Palette generator →

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