#2F8A2A#2F8A2A

#2F8A2A is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.158 H 142.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2F8A2A
RGBrgb(47, 138, 42)
HSLhsl(117, 53%, 35%)
HSVhsv(117, 70%, 54%)
CMYKcmyk(65.9%, 0%, 69.6%, 45.9%)
CIE-LABlab(50.63, -45.92, 41.92)
CIE-LCHlch(50.63, 62.17, 137.61°)
OKLaboklab(55.92% -0.125 0.0963)
OKLCHoklch(55.92% 0.158 142.4)
XYZxyz(10.6781, 18.9474, 5.2845)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A2A #852A8A
analogous
#5F8A2A #2F8A2A #2A8A55
triadic
#2F8A2A #2A2F8A #8A2A2F
tetradic
#2F8A2A #2A5F8A #852A8A #8A552A
square
#2F8A2A #2A5F8A #852A8A #8A552A
split-complementary
#2F8A2A #552A8A #8A2A5F
monochromatic
#0F2C0D #1F5B1C #2F8A2A #3FB938 #66CF60

Accessibility & contrast

On white

4.38
#2F8A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2F8A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A2A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A2A#FFFFFF#000000##000000
##2F8A2A1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1D
Deuteranopia (green-blind)
#827633
Tritanopia (blue-blind)
#1D8677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8a2a;
/* rgb */ color: rgb(47, 138, 42);
/* oklch */ color: oklch(55.9% 0.158 142.4);
Tailwind
colors: {
  custom: {
    50: '#74ad69',
    500: '#2f8a2a',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a2a;
$custom-light: #74ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a2a",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 116.875,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55915,
    "c": 0.15777,
    "h": 142.4
  },
  "luminance": 0.18948
}

Semantic roles & 50–950 ramp

primary
#2F8A2A
secondary
#B05BB4
accent
#4BDDD5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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