#2F8F2F#2F8F2F

#2F8F2F is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.160 H 143.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2F8F2F
RGBrgb(47, 143, 47)
HSLhsl(120, 51%, 37%)
HSVhsv(120, 67%, 56%)
CMYKcmyk(67.1%, 0%, 67.1%, 43.9%)
CIE-LABlab(52.35, -47.24, 41.60)
CIE-LCHlch(52.35, 62.95, 138.63°)
OKLaboklab(57.35% -0.1283 0.0962)
OKLCHoklch(57.35% 0.16 143.1)
XYZxyz(11.5072, 20.4533, 6.0302)
Luminance0.2045 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F2F #8F2F8F
analogous
#5F8F2F #2F8F2F #2F8F5F
triadic
#2F8F2F #2F2F8F #8F2F2F
tetradic
#2F8F2F #2F5F8F #8F2F8F #8F5F2F
square
#2F8F2F #2F5F8F #8F2F8F #8F5F2F
split-complementary
#2F8F2F #5F2F8F #8F2F5F
monochromatic
#113311 #206120 #2F8F2F #3EBD3E #6ACE6A

Accessibility & contrast

On white

4.13
#2F8F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#2F8F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8F2F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8F2F#FFFFFF#000000##000000
##2F8F2F1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928223
Deuteranopia (green-blind)
#877A38
Tritanopia (blue-blind)
#198B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f8f2f;
/* rgb */ color: rgb(47, 143, 47);
/* oklch */ color: oklch(57.4% 0.160 143.1);
Tailwind
colors: {
  custom: {
    50: '#75b16c',
    500: '#2f8f2f',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f2f;
$custom-light: #75b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f2f",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57353,
    "c": 0.16038,
    "h": 143.1
  },
  "luminance": 0.20454
}

Semantic roles & 50–950 ramp

primary
#2F8F2F
secondary
#B565B5
accent
#4EDADA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2F8F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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