#2F8A27#2F8A27

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

Color values

HEX#2F8A27
RGBrgb(47, 138, 39)
HSLhsl(115, 56%, 35%)
HSVhsv(115, 72%, 54%)
CMYKcmyk(65.9%, 0%, 71.7%, 45.9%)
CIE-LABlab(50.60, -46.20, 43.15)
CIE-LCHlch(50.60, 63.22, 136.96°)
OKLaboklab(55.89% -0.1259 0.0985)
OKLCHoklch(55.89% 0.16 142)
XYZxyz(10.6264, 18.9267, 5.0123)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A27 #82278A
analogous
#608A27 #2F8A27 #278A51
triadic
#2F8A27 #272F8A #8A272F
tetradic
#2F8A27 #27608A #82278A #8A5127
square
#2F8A27 #27608A #82278A #8A5127
split-complementary
#2F8A27 #51278A #8A2760
monochromatic
#0E2B0C #1F5A1A #2F8A27 #3FBA34 #64D15B

Accessibility & contrast

On white

4.39
#2F8A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8A27#FFFFFF#000000##000000
##2F8A271.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D18
Deuteranopia (green-blind)
#827631
Tritanopia (blue-blind)
#1D8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8a27;
/* rgb */ color: rgb(47, 138, 39);
/* oklch */ color: oklch(55.9% 0.160 142.0);
Tailwind
colors: {
  custom: {
    50: '#74ad67',
    500: '#2f8a27',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a27;
$custom-light: #74ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a27",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 115.152,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55888,
    "c": 0.15987,
    "h": 142
  },
  "luminance": 0.18928
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8A27

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

Preview Lab → · Contrast checker → · Palette generator →

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