#2F8121#2F8121

#2F8121 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.153 H 141.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2F8121
RGBrgb(47, 129, 33)
HSLhsl(111, 59%, 32%)
HSVhsv(111, 74%, 51%)
CMYKcmyk(63.6%, 0%, 74.4%, 49.4%)
CIE-LABlab(47.51, -43.39, 42.38)
CIE-LCHlch(47.51, 60.65, 135.68°)
OKLaboklab(53.32% -0.1186 0.0961)
OKLCHoklch(53.32% 0.153 141)
XYZxyz(9.2966, 16.4138, 4.1168)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8121 #732181
analogous
#5F8121 #2F8121 #218143
triadic
#2F8121 #212F81 #81212F
tetradic
#2F8121 #215F81 #732181 #814321
square
#2F8121 #215F81 #732181 #814321
split-complementary
#2F8121 #432181 #81215F
monochromatic
#0B2008 #1D5015 #2F8121 #41B22D #5FD14B

Accessibility & contrast

On white

4.90
#2F8121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2F8121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8121
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8121#FFFFFF#000000##FFFFFF
##2F81211.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847510
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#227D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f8121;
/* rgb */ color: rgb(47, 129, 33);
/* oklch */ color: oklch(53.3% 0.153 141.0);
Tailwind
colors: {
  custom: {
    50: '#72a663',
    500: '#2f8121',
    950: '#000000',
  },
}
SCSS
$custom: #2f8121;
$custom-light: #72a663;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8121",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 111.25,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53318,
    "c": 0.15267,
    "h": 141
  },
  "luminance": 0.16415
}

Semantic roles & 50–950 ramp

primary
#2F8121
secondary
#A44AB4
accent
#45E2CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2F8121

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

Preview Lab → · Contrast checker → · Palette generator →

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