#2F9F25#2F9F25

#2F9F25 is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.7% C 0.186 H 141.9°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2F9F25
RGBrgb(47, 159, 37)
HSLhsl(115, 62%, 38%)
HSVhsv(115, 77%, 62%)
CMYKcmyk(70.4%, 0%, 76.7%, 37.6%)
CIE-LABlab(57.59, -53.75, 51.00)
CIE-LCHlch(57.59, 74.10, 136.50°)
OKLaboklab(61.68% -0.1464 0.1146)
OKLCHoklch(61.68% 0.186 141.9)
XYZxyz(13.9036, 25.5327, 5.9455)
Luminance0.2553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9F25 #95259F
analogous
#6C9F25 #2F9F25 #259F58
triadic
#2F9F25 #252F9F #9F252F
tetradic
#2F9F25 #256C9F #95259F #9F5825
square
#2F9F25 #256C9F #95259F #9F5825
split-complementary
#2F9F25 #58259F #9F256C
monochromatic
#123C0E #206D19 #2F9F25 #3FCF32 #6DDB64

Accessibility & contrast

On white

3.44
#2F9F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#2F9F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9F25
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9F25#FFFFFF#000000##000000
##2F9F251.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39009
Deuteranopia (green-blind)
#968732
Tritanopia (blue-blind)
#119A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2f9f25;
/* rgb */ color: rgb(47, 159, 37);
/* oklch */ color: oklch(61.7% 0.186 141.9);
Tailwind
colors: {
  custom: {
    50: '#79bc69',
    500: '#2f9f25',
    950: '#000000',
  },
}
SCSS
$custom: #2f9f25;
$custom-light: #79bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9f25",
  "rgb": {
    "r": 47,
    "g": 159,
    "b": 37
  },
  "hsl": {
    "h": 115.082,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61675,
    "c": 0.18598,
    "h": 141.9
  },
  "luminance": 0.25534
}

Semantic roles & 50–950 ramp

primary
#2F9F25
secondary
#B85FC0
accent
#42E5D8
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2F9F25

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

Preview Lab → · Contrast checker → · Palette generator →

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