#2F8B2E#2F8B2E

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

Color values

HEX#2F8B2E
RGBrgb(47, 139, 46)
HSLhsl(119, 50%, 36%)
HSVhsv(119, 67%, 55%)
CMYKcmyk(66.2%, 0%, 66.9%, 45.5%)
CIE-LABlab(51.00, -45.88, 40.57)
CIE-LCHlch(51.00, 61.24, 138.51°)
OKLaboklab(56.23% -0.1246 0.0939)
OKLCHoklch(56.23% 0.156 143)
XYZxyz(10.8974, 19.2657, 5.7286)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8B2E #8A2E8B
analogous
#5E8B2E #2F8B2E #2E8B5C
triadic
#2F8B2E #2E2F8B #8B2E2F
tetradic
#2F8B2E #2E5E8B #8A2E8B #8B5C2E
square
#2F8B2E #2E5E8B #8A2E8B #8B5C2E
split-complementary
#2F8B2E #5C2E8B #8B2E5E
monochromatic
#102F10 #1F5D1F #2F8B2E #3FB93D #68CD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8B2E#FFFFFF#000000##000000
##2F8B2E1.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)
#8E7E22
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#1B8778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8b2e;
/* rgb */ color: rgb(47, 139, 46);
/* oklch */ color: oklch(56.2% 0.156 143.0);
Tailwind
colors: {
  custom: {
    50: '#74ae6b',
    500: '#2f8b2e',
    950: '#000000',
  },
}
SCSS
$custom: #2f8b2e;
$custom-light: #74ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8b2e",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 119.355,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56234,
    "c": 0.15607,
    "h": 143
  },
  "luminance": 0.19267
}

Semantic roles & 50–950 ramp

primary
#2F8B2E
secondary
#B361B3
accent
#4EDAD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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