#2F9125#2F9125

#2F9125 is a mid, vivid green. Relative luminance 0.210; OKLCH L 57.8% C 0.170 H 141.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2F9125
RGBrgb(47, 145, 37)
HSLhsl(114, 59%, 36%)
HSVhsv(114, 74%, 57%)
CMYKcmyk(67.6%, 0%, 74.5%, 43.1%)
CIE-LABlab(52.94, -48.90, 46.35)
CIE-LCHlch(52.94, 67.38, 136.54°)
OKLaboklab(57.82% -0.1333 0.1049)
OKLCHoklch(57.82% 0.17 141.8)
XYZxyz(11.6310, 20.9875, 5.1879)
Luminance0.2099 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9125 #872591
analogous
#659125 #2F9125 #259151
triadic
#2F9125 #252F91 #91252F
tetradic
#2F9125 #256591 #872591 #915125
square
#2F9125 #256591 #872591 #915125
split-complementary
#2F9125 #512591 #912565
monochromatic
#0F2F0C #1F6019 #2F9125 #3FC231 #66D55B

Accessibility & contrast

On white

4.04
#2F9125 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#2F9125 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9125
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9125#FFFFFF#000000##000000
##2F91251.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958311
Deuteranopia (green-blind)
#897B30
Tritanopia (blue-blind)
#1B8C7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f9125;
/* rgb */ color: rgb(47, 145, 37);
/* oklch */ color: oklch(57.8% 0.170 141.8);
Tailwind
colors: {
  custom: {
    50: '#76b267',
    500: '#2f9125',
    950: '#000000',
  },
}
SCSS
$custom: #2f9125;
$custom-light: #76b267;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9125",
  "rgb": {
    "r": 47,
    "g": 145,
    "b": 37
  },
  "hsl": {
    "h": 114.444,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57816,
    "c": 0.16967,
    "h": 141.8
  },
  "luminance": 0.20989
}

Semantic roles & 50–950 ramp

primary
#2F9125
secondary
#B158BA
accent
#45E3D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F9125

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

Preview Lab → · Contrast checker → · Palette generator →

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