#2F7A25#2F7A25

#2F7A25 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.141 H 141.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2F7A25
RGBrgb(47, 122, 37)
HSLhsl(113, 53%, 31%)
HSVhsv(113, 70%, 48%)
CMYKcmyk(61.5%, 0%, 69.7%, 52.2%)
CIE-LABlab(45.16, -40.33, 38.23)
CIE-LCHlch(45.16, 55.57, 136.53°)
OKLaboklab(51.38% -0.1101 0.0879)
OKLCHoklch(51.38% 0.141 141.4)
XYZxyz(8.4653, 14.6562, 4.1327)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7A25 #70257A
analogous
#597A25 #2F7A25 #257A45
triadic
#2F7A25 #252F7A #7A252F
tetradic
#2F7A25 #25597A #70257A #7A4525
square
#2F7A25 #25597A #70257A #7A4525
split-complementary
#2F7A25 #45257A #7A2559
monochromatic
#0B1C09 #1D4B17 #2F7A25 #41A933 #5ECA50

Accessibility & contrast

On white

5.34
#2F7A25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2F7A25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7A25
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7A25#FFFFFF#000000##FFFFFF
##2F7A251.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F19
Deuteranopia (green-blind)
#74682D
Tritanopia (blue-blind)
#247669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f7a25;
/* rgb */ color: rgb(47, 122, 37);
/* oklch */ color: oklch(51.4% 0.141 141.4);
Tailwind
colors: {
  custom: {
    50: '#71a164',
    500: '#2f7a25',
    950: '#000000',
  },
}
SCSS
$custom: #2f7a25;
$custom-light: #71a164;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7a25",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 37
  },
  "hsl": {
    "h": 112.941,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51384,
    "c": 0.14092,
    "h": 141.4
  },
  "luminance": 0.14657
}

Semantic roles & 50–950 ramp

primary
#2F7A25
secondary
#A14EAC
accent
#4BDDCC
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2F7A25

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

Preview Lab → · Contrast checker → · Palette generator →

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