#2F8E25#2F8E25

#2F8E25 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.166 H 141.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2F8E25
RGBrgb(47, 142, 37)
HSLhsl(114, 59%, 35%)
HSVhsv(114, 74%, 56%)
CMYKcmyk(66.9%, 0%, 73.9%, 44.3%)
CIE-LABlab(51.93, -47.83, 45.32)
CIE-LCHlch(51.93, 65.89, 136.54°)
OKLaboklab(56.98% -0.1304 0.1028)
OKLCHoklch(56.98% 0.166 141.8)
XYZxyz(11.1786, 20.0828, 5.0372)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E25 #84258E
analogous
#638E25 #2F8E25 #258E50
triadic
#2F8E25 #252F8E #8E252F
tetradic
#2F8E25 #25638E #84258E #8E5025
square
#2F8E25 #25638E #84258E #8E5025
split-complementary
#2F8E25 #50258E #8E2563
monochromatic
#0F2D0C #1F5D18 #2F8E25 #3FBF32 #65D45A

Accessibility & contrast

On white

4.19
#2F8E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#2F8E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E25
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E25#FFFFFF#000000##000000
##2F8E251.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918113
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#1C8A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8e25;
/* rgb */ color: rgb(47, 142, 37);
/* oklch */ color: oklch(57.0% 0.166 141.8);
Tailwind
colors: {
  custom: {
    50: '#75b066',
    500: '#2f8e25',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e25;
$custom-light: #75b066;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e25",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 114.286,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56983,
    "c": 0.16607,
    "h": 141.8
  },
  "luminance": 0.20084
}

Semantic roles & 50–950 ramp

primary
#2F8E25
secondary
#AF56B9
accent
#46E2D3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2F8E25

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

Preview Lab → · Contrast checker → · Palette generator →

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