#2F7E35#2F7E35

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

Color values

HEX#2F7E35
RGBrgb(47, 126, 53)
HSLhsl(125, 46%, 34%)
HSVhsv(125, 63%, 49%)
CMYKcmyk(62.7%, 0%, 57.9%, 50.6%)
CIE-LABlab(46.69, -40.01, 32.29)
CIE-LCHlch(46.69, 51.41, 141.09°)
OKLaboklab(52.7% -0.1084 0.0768)
OKLCHoklch(52.7% 0.133 144.7)
XYZxyz(9.2752, 15.7822, 5.9250)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E35 #7E2F78
analogous
#517E2F #2F7E35 #2F7E5D
triadic
#2F7E35 #352F7E #7E352F
tetradic
#2F7E35 #2F517E #7E2F78 #7E5D2F
square
#2F7E35 #2F517E #7E2F78 #7E5D2F
split-complementary
#2F7E35 #5D2F7E #7E2F51
monochromatic
#0E2510 #1E5122 #2F7E35 #40AB48 #63C56A

Accessibility & contrast

On white

5.05
#2F7E35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2F7E35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E35
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E35#FFFFFF#000000##FFFFFF
##2F7E351.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80732E
Deuteranopia (green-blind)
#766C3B
Tritanopia (blue-blind)
#1E7B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7e35;
/* rgb */ color: rgb(47, 126, 53);
/* oklch */ color: oklch(52.7% 0.133 144.7);
Tailwind
colors: {
  custom: {
    50: '#71a46e',
    500: '#2f7e35',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e35;
$custom-light: #71a46e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e35",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 53
  },
  "hsl": {
    "h": 124.557,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52699,
    "c": 0.13288,
    "h": 144.7
  },
  "luminance": 0.15783
}

Semantic roles & 50–950 ramp

primary
#2F7E35
secondary
#AC5DA6
accent
#52CBD5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F7E35

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

Preview Lab → · Contrast checker → · Palette generator →

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