#2F8239#2F8239

#2F8239 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.135 H 145.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2F8239
RGBrgb(47, 130, 57)
HSLhsl(127, 47%, 35%)
HSVhsv(127, 64%, 51%)
CMYKcmyk(63.8%, 0%, 56.2%, 49%)
CIE-LABlab(48.09, -41.05, 31.92)
CIE-LCHlch(48.09, 52.00, 142.13°)
OKLaboklab(53.87% -0.1111 0.0763)
OKLCHoklch(53.87% 0.135 145.5)
XYZxyz(9.8928, 16.8640, 6.6038)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8239 #822F78
analogous
#4F822F #2F8239 #2F8263
triadic
#2F8239 #392F82 #82392F
tetradic
#2F8239 #2F4F82 #822F78 #82632F
square
#2F8239 #2F4F82 #822F78 #82632F
split-complementary
#2F8239 #632F82 #822F4F
monochromatic
#0E2812 #1F5525 #2F8239 #3FAF4D #64C770

Accessibility & contrast

On white

4.80
#2F8239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2F8239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8239
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8239#FFFFFF#000000##FFFFFF
##2F82391.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847732
Deuteranopia (green-blind)
#7A6F3E
Tritanopia (blue-blind)
#1B7F72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8239;
/* rgb */ color: rgb(47, 130, 57);
/* oklch */ color: oklch(53.9% 0.135 145.5);
Tailwind
colors: {
  custom: {
    50: '#71a771',
    500: '#2f8239',
    950: '#000000',
  },
}
SCSS
$custom: #2f8239;
$custom-light: #71a771;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8239",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 57
  },
  "hsl": {
    "h": 127.229,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5387,
    "c": 0.13476,
    "h": 145.5
  },
  "luminance": 0.16865
}

Semantic roles & 50–950 ramp

primary
#2F8239
secondary
#AE5FA4
accent
#51C6D7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2F8239

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

Preview Lab → · Contrast checker → · Palette generator →

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