#2F8F1B#2F8F1B

#2F8F1B is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.173 H 140.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2F8F1B
RGBrgb(47, 143, 27)
HSLhsl(110, 68%, 33%)
HSVhsv(110, 81%, 56%)
CMYKcmyk(67.1%, 0%, 81.1%, 43.9%)
CIE-LABlab(52.21, -48.92, 49.12)
CIE-LCHlch(52.21, 69.32, 134.88°)
OKLaboklab(57.19% -0.1339 0.1093)
OKLCHoklch(57.19% 0.173 140.8)
XYZxyz(11.1920, 20.3273, 4.3704)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F1B #7B1B8F
analogous
#698F1B #2F8F1B #1B8F41
triadic
#2F8F1B #1B2F8F #8F1B2F
tetradic
#2F8F1B #1B698F #7B1B8F #8F411B
square
#2F8F1B #1B698F #7B1B8F #8F411B
split-complementary
#2F8F1B #411B8F #8F1B69
monochromatic
#0D2808 #1E5C11 #2F8F1B #40C225 #62DC48

Accessibility & contrast

On white

4.15
#2F8F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2F8F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8F1B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8F1B#FFFFFF#000000##000000
##2F8F1B1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#1E8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8f1b;
/* rgb */ color: rgb(47, 143, 27);
/* oklch */ color: oklch(57.2% 0.173 140.8);
Tailwind
colors: {
  custom: {
    50: '#76b162',
    500: '#2f8f1b',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f1b;
$custom-light: #76b162;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f1b",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 109.655,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57191,
    "c": 0.17283,
    "h": 140.8
  },
  "luminance": 0.20328
}

Semantic roles & 50–950 ramp

primary
#2F8F1B
secondary
#AA48BE
accent
#3DEBCD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #2F8F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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