#2F8837#2F8837

#2F8837 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.5% C 0.145 H 144.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2F8837
RGBrgb(47, 136, 55)
HSLhsl(125, 49%, 36%)
HSVhsv(125, 65%, 53%)
CMYKcmyk(65.4%, 0%, 59.6%, 46.7%)
CIE-LABlab(50.08, -43.67, 35.29)
CIE-LCHlch(50.08, 56.15, 141.06°)
OKLaboklab(55.51% -0.1182 0.0835)
OKLCHoklch(55.51% 0.145 144.8)
XYZxyz(10.6654, 18.4874, 6.6201)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8837 #882F80
analogous
#53882F #2F8837 #2F8863
triadic
#2F8837 #372F88 #88372F
tetradic
#2F8837 #2F5388 #882F80 #88632F
square
#2F8837 #2F5388 #882F80 #88632F
split-complementary
#2F8837 #632F88 #882F53
monochromatic
#102D12 #1F5B25 #2F8837 #3FB549 #67CA70

Accessibility & contrast

On white

4.47
#2F8837 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2F8837 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8837
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8837#FFFFFF#000000##000000
##2F88371.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C2F
Deuteranopia (green-blind)
#7F743D
Tritanopia (blue-blind)
#198476
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f8837;
/* rgb */ color: rgb(47, 136, 55);
/* oklch */ color: oklch(55.5% 0.145 144.8);
Tailwind
colors: {
  custom: {
    50: '#73ab70',
    500: '#2f8837',
    950: '#000000',
  },
}
SCSS
$custom: #2f8837;
$custom-light: #73ab70;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8837",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 55
  },
  "hsl": {
    "h": 125.393,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55508,
    "c": 0.14476,
    "h": 144.8
  },
  "luminance": 0.18488
}

Semantic roles & 50–950 ramp

primary
#2F8837
secondary
#B161AA
accent
#50CCD8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2F8837

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

Preview Lab → · Contrast checker → · Palette generator →

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