#2F9227#2F9227

#2F9227 is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.1% C 0.170 H 142.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2F9227
RGBrgb(47, 146, 39)
HSLhsl(116, 58%, 36%)
HSVhsv(116, 73%, 57%)
CMYKcmyk(67.8%, 0%, 73.3%, 42.7%)
CIE-LABlab(53.28, -49.09, 45.93)
CIE-LCHlch(53.28, 67.23, 136.90°)
OKLaboklab(58.11% -0.1337 0.1043)
OKLCHoklch(58.11% 0.17 142)
XYZxyz(11.8167, 21.3074, 5.4091)
Luminance0.2131 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9227 #8A2792
analogous
#659227 #2F9227 #279255
triadic
#2F9227 #272F92 #92272F
tetradic
#2F9227 #276592 #8A2792 #925527
square
#2F9227 #276592 #8A2792 #925527
split-complementary
#2F9227 #552792 #922765
monochromatic
#10310D #1F621A #2F9227 #3FC234 #68D45F

Accessibility & contrast

On white

3.99
#2F9227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#2F9227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9227
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9227#FFFFFF#000000##000000
##2F92271.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958415
Deuteranopia (green-blind)
#8A7C32
Tritanopia (blue-blind)
#198D7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2f9227;
/* rgb */ color: rgb(47, 146, 39);
/* oklch */ color: oklch(58.1% 0.170 142.0);
Tailwind
colors: {
  custom: {
    50: '#76b368',
    500: '#2f9227',
    950: '#000000',
  },
}
SCSS
$custom: #2f9227;
$custom-light: #76b368;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9227",
  "rgb": {
    "r": 47,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 115.514,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58109,
    "c": 0.16961,
    "h": 142
  },
  "luminance": 0.21309
}

Semantic roles & 50–950 ramp

primary
#2F9227
secondary
#B35BBA
accent
#47E1D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F9227

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

Preview Lab → · Contrast checker → · Palette generator →

#2F9227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva