#2F8D3E#2F8D3E

#2F8D3E is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.145 H 146.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2F8D3E
RGBrgb(47, 141, 62)
HSLhsl(130, 50%, 37%)
HSVhsv(130, 67%, 55%)
CMYKcmyk(66.7%, 0%, 56%, 44.7%)
CIE-LABlab(51.84, -44.63, 33.87)
CIE-LCHlch(51.84, 56.03, 142.81°)
OKLaboklab(56.99% -0.1206 0.081)
OKLCHoklch(56.99% 0.145 146.1)
XYZxyz(11.5659, 20.0007, 7.8075)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D3E #8D2F7E
analogous
#4F8D2F #2F8D3E #2F8D6D
triadic
#2F8D3E #3E2F8D #8D3E2F
tetradic
#2F8D3E #2F4F8D #8D2F7E #8D6D2F
square
#2F8D3E #2F4F8D #8D2F7E #8D6D2F
split-complementary
#2F8D3E #6D2F8D #8D2F4F
monochromatic
#103116 #205F2A #2F8D3E #3EBB52 #69CD79

Accessibility & contrast

On white

4.20
#2F8D3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2F8D3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D3E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D3E#FFFFFF#000000##000000
##2F8D3E1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8037
Deuteranopia (green-blind)
#837844
Tritanopia (blue-blind)
#138A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8d3e;
/* rgb */ color: rgb(47, 141, 62);
/* oklch */ color: oklch(57.0% 0.145 146.1);
Tailwind
colors: {
  custom: {
    50: '#74af75',
    500: '#2f8d3e',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d3e;
$custom-light: #74af75;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d3e",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 62
  },
  "hsl": {
    "h": 129.574,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56985,
    "c": 0.14525,
    "h": 146.1
  },
  "luminance": 0.20002
}

Semantic roles & 50–950 ramp

primary
#2F8D3E
secondary
#B464A7
accent
#4EC3DA
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2F8D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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