#2F8A2E#2F8A2E

#2F8A2E is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.155 H 143.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2F8A2E
RGBrgb(47, 138, 46)
HSLhsl(119, 50%, 36%)
HSVhsv(119, 67%, 54%)
CMYKcmyk(65.9%, 0%, 66.7%, 45.9%)
CIE-LABlab(50.66, -45.50, 40.20)
CIE-LCHlch(50.66, 60.72, 138.54°)
OKLaboklab(55.96% -0.1236 0.0932)
OKLCHoklch(55.96% 0.155 143)
XYZxyz(10.7533, 18.9775, 5.6806)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A2E #892E8A
analogous
#5D8A2E #2F8A2E #2E8A5B
triadic
#2F8A2E #2E2F8A #8A2E2F
tetradic
#2F8A2E #2E5D8A #892E8A #8A5B2E
square
#2F8A2E #2E5D8A #892E8A #8A5B2E
split-complementary
#2F8A2E #5B2E8A #8A2E5D
monochromatic
#102E0F #1F5C1F #2F8A2E #3FB83D #67CC66

Accessibility & contrast

On white

4.38
#2F8A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#2F8A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A2E
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A2E#FFFFFF#000000##000000
##2F8A2E1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D23
Deuteranopia (green-blind)
#827636
Tritanopia (blue-blind)
#1C8677
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8a2e;
/* rgb */ color: rgb(47, 138, 46);
/* oklch */ color: oklch(56.0% 0.155 143.0);
Tailwind
colors: {
  custom: {
    50: '#74ad6b',
    500: '#2f8a2e',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a2e;
$custom-light: #74ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a2e",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 119.348,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.55956,
    "c": 0.1548,
    "h": 143
  },
  "luminance": 0.18979
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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