#2F8F25#2F8F25

#2F8F25 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.167 H 141.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2F8F25
RGBrgb(47, 143, 37)
HSLhsl(114, 59%, 35%)
HSVhsv(114, 74%, 56%)
CMYKcmyk(67.1%, 0%, 74.1%, 43.9%)
CIE-LABlab(52.27, -48.19, 45.67)
CIE-LCHlch(52.27, 66.39, 136.54°)
OKLaboklab(57.26% -0.1314 0.1035)
OKLCHoklch(57.26% 0.167 141.8)
XYZxyz(11.3281, 20.3817, 5.0870)
Luminance0.2038 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F25 #85258F
analogous
#648F25 #2F8F25 #258F50
triadic
#2F8F25 #252F8F #8F252F
tetradic
#2F8F25 #25648F #85258F #8F5025
square
#2F8F25 #25648F #85258F #8F5025
split-complementary
#2F8F25 #50258F #8F2564
monochromatic
#0F2E0C #1F5E18 #2F8F25 #3FC032 #66D45A

Accessibility & contrast

On white

4.14
#2F8F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#2F8F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8F25
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8F25#FFFFFF#000000##000000
##2F8F251.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938112
Deuteranopia (green-blind)
#877A30
Tritanopia (blue-blind)
#1C8B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f8f25;
/* rgb */ color: rgb(47, 143, 37);
/* oklch */ color: oklch(57.3% 0.167 141.8);
Tailwind
colors: {
  custom: {
    50: '#75b167',
    500: '#2f8f25',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f25;
$custom-light: #75b167;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f25",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 114.34,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57261,
    "c": 0.16727,
    "h": 141.8
  },
  "luminance": 0.20383
}

Semantic roles & 50–950 ramp

primary
#2F8F25
secondary
#B057B9
accent
#46E2D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2F8F25

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

Preview Lab → · Contrast checker → · Palette generator →

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