#2F7D35#2F7D35

#2F7D35 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.131 H 144.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2F7D35
RGBrgb(47, 125, 53)
HSLhsl(125, 45%, 34%)
HSVhsv(125, 62%, 49%)
CMYKcmyk(62.4%, 0%, 57.6%, 51%)
CIE-LABlab(46.35, -39.60, 31.89)
CIE-LCHlch(46.35, 50.85, 141.16°)
OKLaboklab(52.42% -0.1073 0.076)
OKLCHoklch(52.42% 0.131 144.7)
XYZxyz(9.1480, 15.5277, 5.8825)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D35 #7D2F77
analogous
#507D2F #2F7D35 #2F7D5C
triadic
#2F7D35 #352F7D #7D352F
tetradic
#2F7D35 #2F507D #7D2F77 #7D5C2F
square
#2F7D35 #2F507D #7D2F77 #7D5C2F
split-complementary
#2F7D35 #5C2F7D #7D2F50
monochromatic
#0E240F #1E5122 #2F7D35 #40A948 #62C46A

Accessibility & contrast

On white

5.11
#2F7D35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2F7D35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7D35
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D35#FFFFFF#000000##FFFFFF
##2F7D351.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722E
Deuteranopia (green-blind)
#756B3A
Tritanopia (blue-blind)
#1F7A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7d35;
/* rgb */ color: rgb(47, 125, 53);
/* oklch */ color: oklch(52.4% 0.131 144.7);
Tailwind
colors: {
  custom: {
    50: '#71a36e',
    500: '#2f7d35',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d35;
$custom-light: #71a36e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d35",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 53
  },
  "hsl": {
    "h": 124.615,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52419,
    "c": 0.13148,
    "h": 144.7
  },
  "luminance": 0.15529
}

Semantic roles & 50–950 ramp

primary
#2F7D35
secondary
#AB5DA5
accent
#53CBD5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F7D35

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

Preview Lab → · Contrast checker → · Palette generator →

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