#2F8730#2F8730

#2F8730 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.149 H 143.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2F8730
RGBrgb(47, 135, 48)
HSLhsl(121, 48%, 36%)
HSVhsv(121, 65%, 53%)
CMYKcmyk(65.2%, 0%, 64.4%, 47.1%)
CIE-LABlab(49.67, -44.15, 38.18)
CIE-LCHlch(49.67, 58.37, 139.15°)
OKLaboklab(55.14% -0.1199 0.0891)
OKLCHoklch(55.14% 0.149 143.4)
XYZxyz(10.3692, 18.1447, 5.7516)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8730 #872F86
analogous
#5A872F #2F8730 #2F875C
triadic
#2F8730 #302F87 #87302F
tetradic
#2F8730 #2F5A87 #872F86 #875C2F
square
#2F8730 #2F5A87 #872F86 #875C2F
split-complementary
#2F8730 #5C2F87 #872F5A
monochromatic
#0F2C10 #1F5A20 #2F8730 #3FB440 #66CA68

Accessibility & contrast

On white

4.54
#2F8730 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2F8730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8730
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8730#FFFFFF#000000##000000
##2F87301.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B26
Deuteranopia (green-blind)
#7F7337
Tritanopia (blue-blind)
#1C8375
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f8730;
/* rgb */ color: rgb(47, 135, 48);
/* oklch */ color: oklch(55.1% 0.149 143.4);
Tailwind
colors: {
  custom: {
    50: '#73ab6c',
    500: '#2f8730',
    950: '#000000',
  },
}
SCSS
$custom: #2f8730;
$custom-light: #73ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8730",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 48
  },
  "hsl": {
    "h": 120.682,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55144,
    "c": 0.14935,
    "h": 143.4
  },
  "luminance": 0.18146
}

Semantic roles & 50–950 ramp

primary
#2F8730
secondary
#B161B0
accent
#50D6D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8730

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

Preview Lab → · Contrast checker → · Palette generator →

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