#2F8251#2F8251

#2F8251 is a mid, moderate green. Relative luminance 0.172; OKLCH L 54.3% C 0.111 H 154.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2F8251
RGBrgb(47, 130, 81)
HSLhsl(145, 47%, 35%)
HSVhsv(145, 64%, 51%)
CMYKcmyk(63.8%, 0%, 37.7%, 49%)
CIE-LABlab(48.46, -36.89, 19.33)
CIE-LCHlch(48.46, 41.65, 152.35°)
OKLaboklab(54.3% -0.1 0.0484)
OKLCHoklch(54.3% 0.111 154.2)
XYZxyz(10.6392, 17.1626, 10.5350)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8251 #822F60
analogous
#37822F #2F8251 #2F827B
triadic
#2F8251 #512F82 #82512F
tetradic
#2F8251 #2F3782 #822F60 #827B2F
square
#2F8251 #2F3782 #822F60 #827B2F
split-complementary
#2F8251 #7B2F82 #822F37
monochromatic
#0E2819 #1F5535 #2F8251 #3FAF6D #64C78D

Accessibility & contrast

On white

4.74
#2F8251 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2F8251 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8251
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8251#FFFFFF#000000##FFFFFF
##2F82511.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82784E
Deuteranopia (green-blind)
#777054
Tritanopia (blue-blind)
#0C8175
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8251;
/* rgb */ color: rgb(47, 130, 81);
/* oklch */ color: oklch(54.3% 0.111 154.2);
Tailwind
colors: {
  custom: {
    50: '#71a782',
    500: '#2f8251',
    950: '#000000',
  },
}
SCSS
$custom: #2f8251;
$custom-light: #71a782;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8251",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 81
  },
  "hsl": {
    "h": 144.578,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54302,
    "c": 0.11108,
    "h": 154.2
  },
  "luminance": 0.17164
}

Semantic roles & 50–950 ramp

primary
#2F8251
secondary
#AE5F8E
accent
#51A0D7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F8251

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

Preview Lab → · Contrast checker → · Palette generator →

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