#2F8935#2F8935

#2F8935 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.148 H 144.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2F8935
RGBrgb(47, 137, 53)
HSLhsl(124, 49%, 36%)
HSVhsv(124, 66%, 54%)
CMYKcmyk(65.7%, 0%, 61.3%, 46.3%)
CIE-LABlab(50.40, -44.31, 36.63)
CIE-LCHlch(50.40, 57.49, 140.42°)
OKLaboklab(55.76% -0.1201 0.0862)
OKLCHoklch(55.76% 0.148 144.3)
XYZxyz(10.7599, 18.7516, 6.4199)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8935 #892F83
analogous
#56892F #2F8935 #2F8962
triadic
#2F8935 #352F89 #89352F
tetradic
#2F8935 #2F5689 #892F83 #89622F
square
#2F8935 #2F5689 #892F83 #89622F
split-complementary
#2F8935 #622F89 #892F56
monochromatic
#102E12 #1F5B23 #2F8935 #3FB747 #67CB6E

Accessibility & contrast

On white

4.42
#2F8935 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2F8935 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8935
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8935#FFFFFF#000000##000000
##2F89351.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2C
Deuteranopia (green-blind)
#80753C
Tritanopia (blue-blind)
#1A8577
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8935;
/* rgb */ color: rgb(47, 137, 53);
/* oklch */ color: oklch(55.8% 0.148 144.3);
Tailwind
colors: {
  custom: {
    50: '#73ac6f',
    500: '#2f8935',
    950: '#000000',
  },
}
SCSS
$custom: #2f8935;
$custom-light: #73ac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8935",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 53
  },
  "hsl": {
    "h": 124,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.55759,
    "c": 0.14783,
    "h": 144.3
  },
  "luminance": 0.18753
}

Semantic roles & 50–950 ramp

primary
#2F8935
secondary
#B262AD
accent
#4FCFD8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8935

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

Preview Lab → · Contrast checker → · Palette generator →

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