#2F7927#2F7927

#2F7927 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.138 H 141.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2F7927
RGBrgb(47, 121, 39)
HSLhsl(114, 51%, 31%)
HSVhsv(114, 68%, 47%)
CMYKcmyk(61.2%, 0%, 67.8%, 52.5%)
CIE-LABlab(44.84, -39.73, 36.98)
CIE-LCHlch(44.84, 54.28, 137.05°)
OKLaboklab(51.12% -0.1084 0.0855)
OKLCHoklch(51.12% 0.138 141.7)
XYZxyz(8.3754, 14.4248, 4.2620)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7927 #712779
analogous
#587927 #2F7927 #277948
triadic
#2F7927 #272F79 #79272F
tetradic
#2F7927 #275879 #712779 #794827
square
#2F7927 #275879 #712779 #794827
split-complementary
#2F7927 #482779 #792758
monochromatic
#0B1C09 #1D4B18 #2F7927 #41A736 #5EC853

Accessibility & contrast

On white

5.41
#2F7927 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2F7927 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7927
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7927#FFFFFF#000000##FFFFFF
##2F79271.005.413.895.41
#FFFFFF5.411.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1D
Deuteranopia (green-blind)
#73682E
Tritanopia (blue-blind)
#247568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f7927;
/* rgb */ color: rgb(47, 121, 39);
/* oklch */ color: oklch(51.1% 0.138 141.7);
Tailwind
colors: {
  custom: {
    50: '#70a065',
    500: '#2f7927',
    950: '#000000',
  },
}
SCSS
$custom: #2f7927;
$custom-light: #70a065;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7927",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 39
  },
  "hsl": {
    "h": 114.146,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51123,
    "c": 0.13806,
    "h": 141.7
  },
  "luminance": 0.14426
}

Semantic roles & 50–950 ramp

primary
#2F7927
secondary
#A251AB
accent
#4DDBCD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2F7927

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

Preview Lab → · Contrast checker → · Palette generator →

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