#2F7E33#2F7E33

#2F7E33 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.135 H 144.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2F7E33
RGBrgb(47, 126, 51)
HSLhsl(123, 46%, 34%)
HSVhsv(123, 63%, 49%)
CMYKcmyk(62.7%, 0%, 59.5%, 50.6%)
CIE-LABlab(46.66, -40.28, 33.28)
CIE-LCHlch(46.66, 52.25, 140.44°)
OKLaboklab(52.67% -0.1092 0.0788)
OKLCHoklch(52.67% 0.135 144.2)
XYZxyz(9.2301, 15.7642, 5.6877)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E33 #7E2F7A
analogous
#537E2F #2F7E33 #2F7E5B
triadic
#2F7E33 #332F7E #7E332F
tetradic
#2F7E33 #2F537E #7E2F7A #7E5B2F
square
#2F7E33 #2F537E #7E2F7A #7E5B2F
split-complementary
#2F7E33 #5B2F7E #7E2F53
monochromatic
#0E250F #1E5121 #2F7E33 #40AB45 #63C568

Accessibility & contrast

On white

5.06
#2F7E33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2F7E33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E33
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E33#FFFFFF#000000##FFFFFF
##2F7E331.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80732C
Deuteranopia (green-blind)
#766C39
Tritanopia (blue-blind)
#1F7B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7e33;
/* rgb */ color: rgb(47, 126, 51);
/* oklch */ color: oklch(52.7% 0.135 144.2);
Tailwind
colors: {
  custom: {
    50: '#71a46d',
    500: '#2f7e33',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e33;
$custom-light: #71a46d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e33",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 51
  },
  "hsl": {
    "h": 123.038,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52671,
    "c": 0.13469,
    "h": 144.2
  },
  "luminance": 0.15765
}

Semantic roles & 50–950 ramp

primary
#2F7E33
secondary
#AC5DA8
accent
#52CFD5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F7E33

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

Preview Lab → · Contrast checker → · Palette generator →

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