#2F9520#2F9520

#2F9520 is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.9% C 0.177 H 141.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2F9520
RGBrgb(47, 149, 32)
HSLhsl(112, 65%, 35%)
HSVhsv(112, 79%, 58%)
CMYKcmyk(68.5%, 0%, 78.5%, 41.6%)
CIE-LABlab(54.24, -50.68, 49.44)
CIE-LCHlch(54.24, 70.80, 135.71°)
OKLaboklab(58.89% -0.1384 0.1107)
OKLCHoklch(58.89% 0.177 141.4)
XYZxyz(12.1798, 22.2022, 5.0098)
Luminance0.2220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9520 #862095
analogous
#699520 #2F9520 #20954C
triadic
#2F9520 #202F95 #95202F
tetradic
#2F9520 #206995 #862095 #954C20
square
#2F9520 #206995 #862095 #954C20
split-complementary
#2F9520 #4C2095 #952069
monochromatic
#0F300A #1F6315 #2F9520 #3FC72B #66DA55

Accessibility & contrast

On white

3.86
#2F9520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#2F9520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9520
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9520#FFFFFF#000000##000000
##2F95201.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998702
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#1A907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f9520;
/* rgb */ color: rgb(47, 149, 32);
/* oklch */ color: oklch(58.9% 0.177 141.4);
Tailwind
colors: {
  custom: {
    50: '#77b565',
    500: '#2f9520',
    950: '#000000',
  },
}
SCSS
$custom: #2f9520;
$custom-light: #77b565;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9520",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 112.308,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58888,
    "c": 0.17721,
    "h": 141.4
  },
  "luminance": 0.22204
}

Semantic roles & 50–950 ramp

primary
#2F9520
secondary
#B053BE
accent
#40E8D2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F9520

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

Preview Lab → · Contrast checker → · Palette generator →

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