#2F8F32#2F8F32

#2F8F32 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.158 H 143.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2F8F32
RGBrgb(47, 143, 50)
HSLhsl(122, 51%, 37%)
HSVhsv(122, 67%, 56%)
CMYKcmyk(67.1%, 0%, 65%, 43.9%)
CIE-LABlab(52.37, -46.92, 40.29)
CIE-LCHlch(52.37, 61.84, 139.35°)
OKLaboklab(57.39% -0.1273 0.0938)
OKLCHoklch(57.39% 0.158 143.6)
XYZxyz(11.5698, 20.4784, 6.3600)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F32 #8F2F8C
analogous
#5C8F2F #2F8F32 #2F8F62
triadic
#2F8F32 #322F8F #8F322F
tetradic
#2F8F32 #2F5C8F #8F2F8C #8F622F
square
#2F8F32 #2F5C8F #8F2F8C #8F622F
split-complementary
#2F8F32 #622F8F #8F2F5C
monochromatic
#113312 #206122 #2F8F32 #3EBD42 #6ACE6D

Accessibility & contrast

On white

4.12
#2F8F32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#2F8F32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8F32
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8F32#FFFFFF#000000##000000
##2F8F321.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928227
Deuteranopia (green-blind)
#867A3A
Tritanopia (blue-blind)
#188B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f8f32;
/* rgb */ color: rgb(47, 143, 50);
/* oklch */ color: oklch(57.4% 0.158 143.6);
Tailwind
colors: {
  custom: {
    50: '#74b16e',
    500: '#2f8f32',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f32;
$custom-light: #74b16e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f32",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 50
  },
  "hsl": {
    "h": 121.875,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57385,
    "c": 0.15808,
    "h": 143.6
  },
  "luminance": 0.2048
}

Semantic roles & 50–950 ramp

primary
#2F8F32
secondary
#B565B3
accent
#4ED6DA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2F8F32

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

Preview Lab → · Contrast checker → · Palette generator →

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