#2F8531#2F8531

#2F8531 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.146 H 143.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2F8531
RGBrgb(47, 133, 49)
HSLhsl(121, 48%, 35%)
HSVhsv(121, 65%, 52%)
CMYKcmyk(64.7%, 0%, 63.2%, 47.8%)
CIE-LABlab(49.01, -43.27, 36.96)
CIE-LCHlch(49.01, 56.91, 139.50°)
OKLaboklab(54.6% -0.1174 0.0866)
OKLCHoklch(54.6% 0.146 143.6)
XYZxyz(10.1136, 17.6002, 5.7693)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8531 #852F83
analogous
#58852F #2F8531 #2F855C
triadic
#2F8531 #312F85 #85312F
tetradic
#2F8531 #2F5885 #852F83 #855C2F
square
#2F8531 #2F5885 #852F83 #855C2F
split-complementary
#2F8531 #5C2F85 #852F58
monochromatic
#0F2B10 #1F5820 #2F8531 #3FB242 #66C968

Accessibility & contrast

On white

4.65
#2F8531 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2F8531 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8531
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8531#FFFFFF#000000##FFFFFF
##2F85311.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887928
Deuteranopia (green-blind)
#7D7238
Tritanopia (blue-blind)
#1D8173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8531;
/* rgb */ color: rgb(47, 133, 49);
/* oklch */ color: oklch(54.6% 0.146 143.6);
Tailwind
colors: {
  custom: {
    50: '#72a96c',
    500: '#2f8531',
    950: '#000000',
  },
}
SCSS
$custom: #2f8531;
$custom-light: #72a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8531",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 49
  },
  "hsl": {
    "h": 121.395,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54599,
    "c": 0.14589,
    "h": 143.6
  },
  "luminance": 0.17601
}

Semantic roles & 50–950 ramp

primary
#2F8531
secondary
#B060AE
accent
#50D4D7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8531

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

Preview Lab → · Contrast checker → · Palette generator →

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