#2F9239#2F9239

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

Color values

HEX#2F9239
RGBrgb(47, 146, 57)
HSLhsl(126, 51%, 38%)
HSVhsv(126, 68%, 57%)
CMYKcmyk(67.8%, 0%, 61%, 42.7%)
CIE-LABlab(53.45, -47.19, 38.23)
CIE-LCHlch(53.45, 60.73, 140.99°)
OKLaboklab(58.29% -0.1277 0.0901)
OKLCHoklch(58.29% 0.156 144.8)
XYZxyz(12.1889, 21.4562, 7.3692)
Luminance0.2146 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9239 #922F88
analogous
#56922F #2F9239 #2F926B
triadic
#2F9239 #392F92 #92392F
tetradic
#2F9239 #2F5692 #922F88 #926B2F
square
#2F9239 #2F5692 #922F88 #926B2F
split-complementary
#2F9239 #6B2F92 #922F56
monochromatic
#113515 #206427 #2F9239 #3EC04B #6CD076

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F9239#FFFFFF#000000##000000
##2F92391.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)
#958530
Deuteranopia (green-blind)
#897C40
Tritanopia (blue-blind)
#138E7F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f9239;
/* rgb */ color: rgb(47, 146, 57);
/* oklch */ color: oklch(58.3% 0.156 144.8);
Tailwind
colors: {
  custom: {
    50: '#75b372',
    500: '#2f9239',
    950: '#000000',
  },
}
SCSS
$custom: #2f9239;
$custom-light: #75b372;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9239",
  "rgb": {
    "r": 47,
    "g": 146,
    "b": 57
  },
  "hsl": {
    "h": 126.061,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58294,
    "c": 0.15624,
    "h": 144.8
  },
  "luminance": 0.21458
}

Semantic roles & 50–950 ramp

primary
#2F9239
secondary
#B766AF
accent
#4DCCDB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2F9239

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

Preview Lab → · Contrast checker → · Palette generator →

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