#2F8929#2F8929

#2F8929 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.157 H 142.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2F8929
RGBrgb(47, 137, 41)
HSLhsl(116, 54%, 35%)
HSVhsv(116, 70%, 54%)
CMYKcmyk(65.7%, 0%, 70.1%, 46.3%)
CIE-LABlab(50.28, -45.65, 41.98)
CIE-LCHlch(50.28, 62.01, 137.40°)
OKLaboklab(55.63% -0.1243 0.0963)
OKLCHoklch(55.63% 0.157 142.2)
XYZxyz(10.5176, 18.6547, 5.1438)
Luminance0.1866 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8929 #832989
analogous
#5F8929 #2F8929 #298953
triadic
#2F8929 #292F89 #89292F
tetradic
#2F8929 #295F89 #832989 #895329
square
#2F8929 #295F89 #832989 #895329
split-complementary
#2F8929 #532989 #89295F
monochromatic
#0F2B0D #1F5A1B #2F8929 #3FB837 #65CF5E

Accessibility & contrast

On white

4.44
#2F8929 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#2F8929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8929
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8929#FFFFFF#000000##000000
##2F89291.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1B
Deuteranopia (green-blind)
#817532
Tritanopia (blue-blind)
#1D8576
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8929;
/* rgb */ color: rgb(47, 137, 41);
/* oklch */ color: oklch(55.6% 0.157 142.2);
Tailwind
colors: {
  custom: {
    50: '#74ac68',
    500: '#2f8929',
    950: '#000000',
  },
}
SCSS
$custom: #2f8929;
$custom-light: #74ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8929",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 41
  },
  "hsl": {
    "h": 116.25,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55627,
    "c": 0.15723,
    "h": 142.2
  },
  "luminance": 0.18656
}

Semantic roles & 50–950 ramp

primary
#2F8929
secondary
#AF5AB4
accent
#4ADDD4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8929

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

Preview Lab → · Contrast checker → · Palette generator →

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