#2F8727#2F8727

#2F8727 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.156 H 141.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2F8727
RGBrgb(47, 135, 39)
HSLhsl(115, 55%, 34%)
HSVhsv(115, 71%, 53%)
CMYKcmyk(65.2%, 0%, 71.1%, 47.1%)
CIE-LABlab(49.59, -45.10, 42.09)
CIE-LCHlch(49.59, 61.69, 136.98°)
OKLaboklab(55.05% -0.1229 0.0963)
OKLCHoklch(55.05% 0.156 141.9)
XYZxyz(10.2019, 18.0778, 4.8708)
Luminance0.1808 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8727 #7F2787
analogous
#5F8727 #2F8727 #27874F
triadic
#2F8727 #272F87 #87272F
tetradic
#2F8727 #275F87 #7F2787 #874F27
square
#2F8727 #275F87 #7F2787 #874F27
split-complementary
#2F8727 #4F2787 #87275F
monochromatic
#0E280C #1E5819 #2F8727 #40B635 #63CF59

Accessibility & contrast

On white

4.55
#2F8727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#2F8727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8727
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8727#FFFFFF#000000##000000
##2F87271.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A19
Deuteranopia (green-blind)
#807330
Tritanopia (blue-blind)
#1F8374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f8727;
/* rgb */ color: rgb(47, 135, 39);
/* oklch */ color: oklch(55.1% 0.156 141.9);
Tailwind
colors: {
  custom: {
    50: '#73ab67',
    500: '#2f8727',
    950: '#000000',
  },
}
SCSS
$custom: #2f8727;
$custom-light: #73ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8727",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 115,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55051,
    "c": 0.15614,
    "h": 141.9
  },
  "luminance": 0.18079
}

Semantic roles & 50–950 ramp

primary
#2F8727
secondary
#AC56B4
accent
#49DFD2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8727

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

Preview Lab → · Contrast checker → · Palette generator →

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