#2F8B2D#2F8B2D

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

Color values

HEX#2F8B2D
RGBrgb(47, 139, 45)
HSLhsl(119, 51%, 36%)
HSVhsv(119, 68%, 55%)
CMYKcmyk(66.2%, 0%, 67.6%, 45.5%)
CIE-LABlab(50.99, -45.98, 41.00)
CIE-LCHlch(50.99, 61.61, 138.28°)
OKLaboklab(56.22% -0.125 0.0947)
OKLCHoklch(56.22% 0.157 142.8)
XYZxyz(10.8779, 19.2579, 5.6260)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8B2D #892D8B
analogous
#5E8B2D #2F8B2D #2D8B5A
triadic
#2F8B2D #2D2F8B #8B2D2F
tetradic
#2F8B2D #2D5E8B #892D8B #8B5A2D
square
#2F8B2D #2D5E8B #892D8B #8B5A2D
split-complementary
#2F8B2D #5A2D8B #8B2D5E
monochromatic
#102F0F #1F5D1E #2F8B2D #3FB93C #67CD65

Accessibility & contrast

On white

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

On black

4.85
#2F8B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8B2D
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8B2D#FFFFFF#000000##000000
##2F8B2D1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f8b2d;
/* rgb */ color: rgb(47, 139, 45);
/* oklch */ color: oklch(56.2% 0.157 142.8);
Tailwind
colors: {
  custom: {
    50: '#74ae6a',
    500: '#2f8b2d',
    950: '#000000',
  },
}
SCSS
$custom: #2f8b2d;
$custom-light: #74ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8b2d",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 118.723,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56223,
    "c": 0.15682,
    "h": 142.8
  },
  "luminance": 0.19259
}

Semantic roles & 50–950 ramp

primary
#2F8B2D
secondary
#B260B4
accent
#4DDBD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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