#2F8B2B#2F8B2B

#2F8B2B is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.158 H 142.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2F8B2B
RGBrgb(47, 139, 43)
HSLhsl(118, 53%, 36%)
HSVhsv(118, 69%, 55%)
CMYKcmyk(66.2%, 0%, 69.1%, 45.5%)
CIE-LABlab(50.97, -46.19, 41.86)
CIE-LCHlch(50.97, 62.33, 137.81°)
OKLaboklab(56.2% -0.1257 0.0963)
OKLCHoklch(56.2% 0.158 142.5)
XYZxyz(10.8403, 19.2429, 5.4280)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8B2B #872B8B
analogous
#5F8B2B #2F8B2B #2B8B57
triadic
#2F8B2B #2B2F8B #8B2B2F
tetradic
#2F8B2B #2B5F8B #872B8B #8B572B
square
#2F8B2B #2B5F8B #872B8B #8B572B
split-complementary
#2F8B2B #572B8B #8B2B5F
monochromatic
#0F2E0E #1F5C1D #2F8B2B #3FBA39 #66CE62

Accessibility & contrast

On white

4.33
#2F8B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#2F8B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8B2B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8B2B#FFFFFF#000000##000000
##2F8B2B1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1E
Deuteranopia (green-blind)
#837634
Tritanopia (blue-blind)
#1C8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8b2b;
/* rgb */ color: rgb(47, 139, 43);
/* oklch */ color: oklch(56.2% 0.158 142.5);
Tailwind
colors: {
  custom: {
    50: '#74ae69',
    500: '#2f8b2b',
    950: '#000000',
  },
}
SCSS
$custom: #2f8b2b;
$custom-light: #74ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8b2b",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 117.5,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56203,
    "c": 0.15831,
    "h": 142.5
  },
  "luminance": 0.19244
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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