#2F8B22#2F8B22

#2F8B22 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.164 H 141.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2F8B22
RGBrgb(47, 139, 34)
HSLhsl(113, 61%, 34%)
HSVhsv(113, 76%, 55%)
CMYKcmyk(66.2%, 0%, 75.5%, 45.5%)
CIE-LABlab(50.90, -47.00, 45.43)
CIE-LCHlch(50.90, 65.36, 135.97°)
OKLaboklab(56.13% -0.1283 0.1026)
OKLCHoklch(56.13% 0.164 141.4)
XYZxyz(10.6931, 19.1840, 4.6524)
Luminance0.1918 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8B22 #7E228B
analogous
#648B22 #2F8B22 #228B4A
triadic
#2F8B22 #222F8B #8B222F
tetradic
#2F8B22 #22648B #7E228B #8B4A22
square
#2F8B22 #22648B #7E228B #8B4A22
split-complementary
#2F8B22 #4A228B #8B2264
monochromatic
#0E290A #1E5A16 #2F8B22 #40BC2E #63D553

Accessibility & contrast

On white

4.34
#2F8B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2F8B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8B22
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8B22#FFFFFF#000000##000000
##2F8B221.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0E
Deuteranopia (green-blind)
#84762D
Tritanopia (blue-blind)
#1E8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8b22;
/* rgb */ color: rgb(47, 139, 34);
/* oklch */ color: oklch(56.1% 0.164 141.4);
Tailwind
colors: {
  custom: {
    50: '#74ae64',
    500: '#2f8b22',
    950: '#000000',
  },
}
SCSS
$custom: #2f8b22;
$custom-light: #74ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8b22",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 112.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56125,
    "c": 0.1643,
    "h": 141.4
  },
  "luminance": 0.19185
}

Semantic roles & 50–950 ramp

primary
#2F8B22
secondary
#AC50B8
accent
#44E4D0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8B22

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

Preview Lab → · Contrast checker → · Palette generator →

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