#2F8E2B#2F8E2B

#2F8E2B is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.162 H 142.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2F8E2B
RGBrgb(47, 142, 43)
HSLhsl(118, 54%, 36%)
HSVhsv(118, 70%, 56%)
CMYKcmyk(66.9%, 0%, 69.7%, 44.3%)
CIE-LABlab(51.98, -47.29, 42.94)
CIE-LCHlch(51.98, 63.87, 137.76°)
OKLaboklab(57.04% -0.1286 0.0986)
OKLCHoklch(57.04% 0.162 142.5)
XYZxyz(11.2807, 20.1236, 5.5748)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E2B #8A2B8E
analogous
#618E2B #2F8E2B #2B8E59
triadic
#2F8E2B #2B2F8E #8E2B2F
tetradic
#2F8E2B #2B618E #8A2B8E #8E592B
square
#2F8E2B #2B618E #8A2B8E #8E592B
split-complementary
#2F8E2B #592B8E #8E2B61
monochromatic
#10300F #1F5F1D #2F8E2B #3FBD39 #68D063

Accessibility & contrast

On white

4.18
#2F8E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#2F8E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E2B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E2B#FFFFFF#000000##000000
##2F8E2B1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811D
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#1A8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8e2b;
/* rgb */ color: rgb(47, 142, 43);
/* oklch */ color: oklch(57.0% 0.162 142.5);
Tailwind
colors: {
  custom: {
    50: '#75b06a',
    500: '#2f8e2b',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e2b;
$custom-light: #75b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e2b",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 117.576,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57036,
    "c": 0.16205,
    "h": 142.5
  },
  "luminance": 0.20125
}

Semantic roles & 50–950 ramp

primary
#2F8E2B
secondary
#B35FB6
accent
#4BDDD7
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2F8E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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