#2F8A30#2F8A30

#2F8A30 is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.153 H 143.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2F8A30
RGBrgb(47, 138, 48)
HSLhsl(121, 49%, 36%)
HSVhsv(121, 66%, 54%)
CMYKcmyk(65.9%, 0%, 65.2%, 45.9%)
CIE-LABlab(50.68, -45.28, 39.31)
CIE-LCHlch(50.68, 59.97, 139.04°)
OKLaboklab(55.98% -0.1229 0.0915)
OKLCHoklch(55.98% 0.153 143.3)
XYZxyz(10.7936, 18.9936, 5.8930)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A30 #8A2F89
analogous
#5C8A2F #2F8A30 #2F8A5E
triadic
#2F8A30 #302F8A #8A302F
tetradic
#2F8A30 #2F5C8A #8A2F89 #8A5E2F
square
#2F8A30 #2F5C8A #8A2F89 #8A5E2F
split-complementary
#2F8A30 #5E2F8A #8A2F5C
monochromatic
#102F10 #1F5C20 #2F8A30 #3FB840 #68CC69

Accessibility & contrast

On white

4.38
#2F8A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#2F8A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A30
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A30#FFFFFF#000000##000000
##2F8A301.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D25
Deuteranopia (green-blind)
#827638
Tritanopia (blue-blind)
#1B8677
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8a30;
/* rgb */ color: rgb(47, 138, 48);
/* oklch */ color: oklch(56.0% 0.153 143.3);
Tailwind
colors: {
  custom: {
    50: '#74ad6c',
    500: '#2f8a30',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a30;
$custom-light: #74ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a30",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 120.659,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55978,
    "c": 0.15323,
    "h": 143.3
  },
  "luminance": 0.18995
}

Semantic roles & 50–950 ramp

primary
#2F8A30
secondary
#B362B2
accent
#4FD7D9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8A30

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

Preview Lab → · Contrast checker → · Palette generator →

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