#2F8D2B#2F8D2B

#2F8D2B is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.161 H 142.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2F8D2B
RGBrgb(47, 141, 43)
HSLhsl(118, 53%, 36%)
HSVhsv(118, 70%, 55%)
CMYKcmyk(66.7%, 0%, 69.5%, 44.7%)
CIE-LABlab(51.64, -46.92, 42.58)
CIE-LCHlch(51.64, 63.36, 137.78°)
OKLaboklab(56.76% -0.1276 0.0978)
OKLCHoklch(56.76% 0.161 142.5)
XYZxyz(11.1326, 19.8274, 5.5254)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D2B #892B8D
analogous
#608D2B #2F8D2B #2B8D58
triadic
#2F8D2B #2B2F8D #8D2B2F
tetradic
#2F8D2B #2B608D #892B8D #8D582B
square
#2F8D2B #2B608D #892B8D #8D582B
split-complementary
#2F8D2B #582B8D #8D2B60
monochromatic
#102F0E #1F5E1D #2F8D2B #3FBC39 #67CF63

Accessibility & contrast

On white

4.23
#2F8D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#2F8D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D2B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D2B#FFFFFF#000000##000000
##2F8D2B1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801D
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#1B8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8d2b;
/* rgb */ color: rgb(47, 141, 43);
/* oklch */ color: oklch(56.8% 0.161 142.5);
Tailwind
colors: {
  custom: {
    50: '#74af6a',
    500: '#2f8d2b',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d2b;
$custom-light: #74af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d2b",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 117.551,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56759,
    "c": 0.16081,
    "h": 142.5
  },
  "luminance": 0.19829
}

Semantic roles & 50–950 ramp

primary
#2F8D2B
secondary
#B25EB6
accent
#4BDDD7
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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