#2F8027#2F8027

#2F8027 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.147 H 141.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2F8027
RGBrgb(47, 128, 39)
HSLhsl(115, 53%, 33%)
HSVhsv(115, 70%, 50%)
CMYKcmyk(63.3%, 0%, 69.5%, 49.8%)
CIE-LABlab(47.22, -42.46, 39.57)
CIE-LCHlch(47.22, 58.03, 137.02°)
OKLaboklab(53.09% -0.1158 0.091)
OKLCHoklch(53.09% 0.147 141.8)
XYZxyz(9.2572, 16.1883, 4.5559)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8027 #782780
analogous
#5B8027 #2F8027 #27804C
triadic
#2F8027 #272F80 #80272F
tetradic
#2F8027 #275B80 #782780 #804C27
square
#2F8027 #275B80 #782780 #804C27
split-complementary
#2F8027 #4C2780 #80275B
monochromatic
#0D220A #1E5119 #2F8027 #40AF35 #60CB56

Accessibility & contrast

On white

4.96
#2F8027 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2F8027 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8027
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8027#FFFFFF#000000##FFFFFF
##2F80271.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741B
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#217C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f8027;
/* rgb */ color: rgb(47, 128, 39);
/* oklch */ color: oklch(53.1% 0.147 141.8);
Tailwind
colors: {
  custom: {
    50: '#72a666',
    500: '#2f8027',
    950: '#000000',
  },
}
SCSS
$custom: #2f8027;
$custom-light: #72a666;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8027",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 39
  },
  "hsl": {
    "h": 114.607,
    "s": 53.293,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53092,
    "c": 0.14724,
    "h": 141.8
  },
  "luminance": 0.16189
}

Semantic roles & 50–950 ramp

primary
#2F8027
secondary
#A853B0
accent
#4BDDD0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2F8027

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

Preview Lab → · Contrast checker → · Palette generator →

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