#2F9122#2F9122

#2F9122 is a mid, vivid green. Relative luminance 0.210; OKLCH L 57.8% C 0.171 H 141.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2F9122
RGBrgb(47, 145, 34)
HSLhsl(113, 62%, 35%)
HSVhsv(113, 77%, 57%)
CMYKcmyk(67.6%, 0%, 76.6%, 43.1%)
CIE-LABlab(52.92, -49.14, 47.44)
CIE-LCHlch(52.92, 68.30, 136.01°)
OKLaboklab(57.79% -0.1341 0.1068)
OKLCHoklch(57.79% 0.171 141.5)
XYZxyz(11.5858, 20.9694, 4.9500)
Luminance0.2097 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9122 #842291
analogous
#669122 #2F9122 #22914D
triadic
#2F9122 #222F91 #91222F
tetradic
#2F9122 #226691 #842291 #914D22
square
#2F9122 #226691 #842291 #914D22
split-complementary
#2F9122 #4D2291 #912266
monochromatic
#0F2E0B #1F5F16 #2F9122 #3FC32E #65D756

Accessibility & contrast

On white

4.04
#2F9122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#2F9122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9122
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9122#FFFFFF#000000##000000
##2F91221.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830A
Deuteranopia (green-blind)
#897B2E
Tritanopia (blue-blind)
#1B8C7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f9122;
/* rgb */ color: rgb(47, 145, 34);
/* oklch */ color: oklch(57.8% 0.171 141.5);
Tailwind
colors: {
  custom: {
    50: '#76b265',
    500: '#2f9122',
    950: '#000000',
  },
}
SCSS
$custom: #2f9122;
$custom-light: #76b265;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9122",
  "rgb": {
    "r": 47,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 112.973,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57793,
    "c": 0.17145,
    "h": 141.5
  },
  "luminance": 0.20971
}

Semantic roles & 50–950 ramp

primary
#2F9122
secondary
#AF53BB
accent
#43E5D2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F9122

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

Preview Lab → · Contrast checker → · Palette generator →

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