#2F8539#2F8539

#2F8539 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.139 H 145.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2F8539
RGBrgb(47, 133, 57)
HSLhsl(127, 48%, 35%)
HSVhsv(127, 65%, 52%)
CMYKcmyk(64.7%, 0%, 57.1%, 47.8%)
CIE-LABlab(49.10, -42.23, 33.13)
CIE-LCHlch(49.10, 53.67, 141.89°)
OKLaboklab(54.7% -0.1143 0.079)
OKLCHoklch(54.7% 0.139 145.4)
XYZxyz(10.2977, 17.6738, 6.7388)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8539 #852F7B
analogous
#50852F #2F8539 #2F8564
triadic
#2F8539 #392F85 #85392F
tetradic
#2F8539 #2F5085 #852F7B #85642F
square
#2F8539 #2F5085 #852F7B #85642F
split-complementary
#2F8539 #642F85 #852F50
monochromatic
#0F2B12 #1F5826 #2F8539 #3FB24C #66C971

Accessibility & contrast

On white

4.63
#2F8539 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2F8539 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8539
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8539#FFFFFF#000000##FFFFFF
##2F85391.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877932
Deuteranopia (green-blind)
#7C723F
Tritanopia (blue-blind)
#1A8274
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f8539;
/* rgb */ color: rgb(47, 133, 57);
/* oklch */ color: oklch(54.7% 0.139 145.4);
Tailwind
colors: {
  custom: {
    50: '#72a971',
    500: '#2f8539',
    950: '#000000',
  },
}
SCSS
$custom: #2f8539;
$custom-light: #72a971;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8539",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 57
  },
  "hsl": {
    "h": 126.977,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54703,
    "c": 0.1389,
    "h": 145.4
  },
  "luminance": 0.17675
}

Semantic roles & 50–950 ramp

primary
#2F8539
secondary
#B060A6
accent
#50C8D7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2F8539

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

Preview Lab → · Contrast checker → · Palette generator →

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