#2F8F2E#2F8F2E

#2F8F2E is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.161 H 143.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2F8F2E
RGBrgb(47, 143, 46)
HSLhsl(119, 51%, 37%)
HSVhsv(119, 68%, 56%)
CMYKcmyk(67.1%, 0%, 67.8%, 43.9%)
CIE-LABlab(52.34, -47.35, 42.03)
CIE-LCHlch(52.34, 63.31, 138.40°)
OKLaboklab(57.34% -0.1286 0.097)
OKLCHoklch(57.34% 0.161 143)
XYZxyz(11.4872, 20.4453, 5.9252)
Luminance0.2045 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F2E #8E2E8F
analogous
#608F2E #2F8F2E #2E8F5D
triadic
#2F8F2E #2E2F8F #8F2E2F
tetradic
#2F8F2E #2E608F #8E2E8F #8F5D2E
square
#2F8F2E #2E608F #8E2E8F #8F5D2E
split-complementary
#2F8F2E #5D2E8F #8F2E60
monochromatic
#113210 #20611F #2F8F2E #3EBD3D #6ACF69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8F2E#FFFFFF#000000##000000
##2F8F2E1.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)
#928221
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#198B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f8f2e;
/* rgb */ color: rgb(47, 143, 46);
/* oklch */ color: oklch(57.3% 0.161 143.0);
Tailwind
colors: {
  custom: {
    50: '#75b16b',
    500: '#2f8f2e',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f2e;
$custom-light: #75b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f2e",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 119.381,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57343,
    "c": 0.16112,
    "h": 143
  },
  "luminance": 0.20447
}

Semantic roles & 50–950 ramp

primary
#2F8F2E
secondary
#B563B6
accent
#4DDBD9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2F8F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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