#2F8A2B#2F8A2B

#2F8A2B is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.157 H 142.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2F8A2B
RGBrgb(47, 138, 43)
HSLhsl(117, 52%, 35%)
HSVhsv(117, 69%, 54%)
CMYKcmyk(65.9%, 0%, 68.8%, 45.9%)
CIE-LABlab(50.63, -45.82, 41.50)
CIE-LCHlch(50.63, 61.82, 137.83°)
OKLaboklab(55.93% -0.1246 0.0955)
OKLCHoklch(55.93% 0.157 142.5)
XYZxyz(10.6962, 18.9546, 5.3800)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A2B #862B8A
analogous
#5E8A2B #2F8A2B #2B8A57
triadic
#2F8A2B #2B2F8A #8A2B2F
tetradic
#2F8A2B #2B5E8A #862B8A #8A572B
square
#2F8A2B #2B5E8A #862B8A #8A572B
split-complementary
#2F8A2B #572B8A #8A2B5E
monochromatic
#0F2D0E #1F5B1C #2F8A2B #3FB93A #66CE61

Accessibility & contrast

On white

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

On black

4.79
#2F8A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A2B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A2B#FFFFFF#000000##000000
##2F8A2B1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1E
Deuteranopia (green-blind)
#827634
Tritanopia (blue-blind)
#1C8677
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8a2b;
/* rgb */ color: rgb(47, 138, 43);
/* oklch */ color: oklch(55.9% 0.157 142.5);
Tailwind
colors: {
  custom: {
    50: '#74ad69',
    500: '#2f8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a2b;
$custom-light: #74ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a2b",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 117.474,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55925,
    "c": 0.15705,
    "h": 142.5
  },
  "luminance": 0.18956
}

Semantic roles & 50–950 ramp

primary
#2F8A2B
secondary
#B05DB4
accent
#4CDCD6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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