#2F8B2F#2F8B2F

#2F8B2F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.155 H 143.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2F8B2F
RGBrgb(47, 139, 47)
HSLhsl(120, 49%, 36%)
HSVhsv(120, 66%, 55%)
CMYKcmyk(66.2%, 0%, 66.2%, 45.5%)
CIE-LABlab(51.01, -45.77, 40.13)
CIE-LCHlch(51.01, 60.87, 138.75°)
OKLaboklab(56.24% -0.1243 0.0931)
OKLCHoklch(56.24% 0.155 143.2)
XYZxyz(10.9174, 19.2737, 5.8336)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8B2F #8B2F8B
analogous
#5D8B2F #2F8B2F #2F8B5D
triadic
#2F8B2F #2F2F8B #8B2F2F
tetradic
#2F8B2F #2F5D8B #8B2F8B #8B5D2F
square
#2F8B2F #2F5D8B #8B2F8B #8B5D2F
split-complementary
#2F8B2F #5D2F8B #8B2F5D
monochromatic
#103010 #205D20 #2F8B2F #3EB93E #68CC68

Accessibility & contrast

On white

4.33
#2F8B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#2F8B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8B2F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8B2F#FFFFFF#000000##000000
##2F8B2F1.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E24
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#1B8778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8b2f;
/* rgb */ color: rgb(47, 139, 47);
/* oklch */ color: oklch(56.2% 0.155 143.2);
Tailwind
colors: {
  custom: {
    50: '#74ae6c',
    500: '#2f8b2f',
    950: '#000000',
  },
}
SCSS
$custom: #2f8b2f;
$custom-light: #74ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8b2f",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56244,
    "c": 0.15531,
    "h": 143.2
  },
  "luminance": 0.19275
}

Semantic roles & 50–950 ramp

primary
#2F8B2F
secondary
#B363B3
accent
#4FD9D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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