#2F8927#2F8927

#2F8927 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.159 H 142.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2F8927
RGBrgb(47, 137, 39)
HSLhsl(115, 56%, 35%)
HSVhsv(115, 72%, 54%)
CMYKcmyk(65.7%, 0%, 71.5%, 46.3%)
CIE-LABlab(50.26, -45.84, 42.80)
CIE-LCHlch(50.26, 62.71, 136.96°)
OKLaboklab(55.61% -0.1249 0.0978)
OKLCHoklch(55.61% 0.159 142)
XYZxyz(10.4836, 18.6411, 4.9647)
Luminance0.1864 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8927 #812789
analogous
#608927 #2F8927 #278950
triadic
#2F8927 #272F89 #89272F
tetradic
#2F8927 #276089 #812789 #895027
square
#2F8927 #276089 #812789 #895027
split-complementary
#2F8927 #502789 #892760
monochromatic
#0E2A0C #1F5919 #2F8927 #3FB935 #64D05A

Accessibility & contrast

On white

4.44
#2F8927 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#2F8927 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8927
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8927#FFFFFF#000000##000000
##2F89271.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C18
Deuteranopia (green-blind)
#817530
Tritanopia (blue-blind)
#1E8575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8927;
/* rgb */ color: rgb(47, 137, 39);
/* oklch */ color: oklch(55.6% 0.159 142.0);
Tailwind
colors: {
  custom: {
    50: '#74ac67',
    500: '#2f8927',
    950: '#000000',
  },
}
SCSS
$custom: #2f8927;
$custom-light: #74ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8927",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 39
  },
  "hsl": {
    "h": 115.102,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55609,
    "c": 0.15863,
    "h": 142
  },
  "luminance": 0.18642
}

Semantic roles & 50–950 ramp

primary
#2F8927
secondary
#AD57B5
accent
#49DFD3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8927

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

Preview Lab → · Contrast checker → · Palette generator →

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