#2F8537#2F8537

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

Color values

HEX#2F8537
RGBrgb(47, 133, 55)
HSLhsl(126, 48%, 35%)
HSVhsv(126, 65%, 52%)
CMYKcmyk(64.7%, 0%, 58.6%, 47.8%)
CIE-LABlab(49.07, -42.51, 34.11)
CIE-LCHlch(49.07, 54.50, 141.26°)
OKLaboklab(54.68% -0.1151 0.0809)
OKLCHoklch(54.68% 0.141 144.9)
XYZxyz(10.2488, 17.6542, 6.4812)
Luminance0.1766 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8537 #852F7D
analogous
#52852F #2F8537 #2F8562
triadic
#2F8537 #372F85 #85372F
tetradic
#2F8537 #2F5285 #852F7D #85622F
square
#2F8537 #2F5285 #852F7D #85622F
split-complementary
#2F8537 #622F85 #852F52
monochromatic
#0F2B12 #1F5824 #2F8537 #3FB24A #66C96F

Accessibility & contrast

On white

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

On black

4.53
#2F8537 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F8537#FFFFFF#000000##FFFFFF
##2F85371.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87792F
Deuteranopia (green-blind)
#7D723D
Tritanopia (blue-blind)
#1B8274
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f8537;
/* rgb */ color: rgb(47, 133, 55);
/* oklch */ color: oklch(54.7% 0.141 144.9);
Tailwind
colors: {
  custom: {
    50: '#72a970',
    500: '#2f8537',
    950: '#000000',
  },
}
SCSS
$custom: #2f8537;
$custom-light: #72a970;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8537",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 55
  },
  "hsl": {
    "h": 125.581,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54675,
    "c": 0.14071,
    "h": 144.9
  },
  "luminance": 0.17655
}

Semantic roles & 50–950 ramp

primary
#2F8537
secondary
#B060A8
accent
#50CBD7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2F8537

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

Preview Lab → · Contrast checker → · Palette generator →

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