#2F9237#2F9237

#2F9237 is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.3% C 0.158 H 144.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2F9237
RGBrgb(47, 146, 55)
HSLhsl(125, 51%, 38%)
HSVhsv(125, 68%, 57%)
CMYKcmyk(67.8%, 0%, 62.3%, 42.7%)
CIE-LABlab(53.42, -47.44, 39.15)
CIE-LCHlch(53.42, 61.51, 140.47°)
OKLaboklab(58.27% -0.1284 0.0919)
OKLCHoklch(58.27% 0.158 144.4)
XYZxyz(12.1400, 21.4367, 7.1116)
Luminance0.2144 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9237 #922F8A
analogous
#59922F #2F9237 #2F9268
triadic
#2F9237 #372F92 #92372F
tetradic
#2F9237 #2F5992 #922F8A #92682F
square
#2F9237 #2F5992 #922F8A #92682F
split-complementary
#2F9237 #682F92 #922F59
monochromatic
#113514 #206426 #2F9237 #3EC048 #6CD074

Accessibility & contrast

On white

3.97
#2F9237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#2F9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9237
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9237#FFFFFF#000000##000000
##2F92371.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95852D
Deuteranopia (green-blind)
#897C3F
Tritanopia (blue-blind)
#148E7F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f9237;
/* rgb */ color: rgb(47, 146, 55);
/* oklch */ color: oklch(58.3% 0.158 144.4);
Tailwind
colors: {
  custom: {
    50: '#75b371',
    500: '#2f9237',
    950: '#000000',
  },
}
SCSS
$custom: #2f9237;
$custom-light: #75b371;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9237",
  "rgb": {
    "r": 47,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 124.848,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5827,
    "c": 0.15789,
    "h": 144.4
  },
  "luminance": 0.21438
}

Semantic roles & 50–950 ramp

primary
#2F9237
secondary
#B766B0
accent
#4DCFDB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2F9237

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

Preview Lab → · Contrast checker → · Palette generator →

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