#2F8B2A#2F8B2A

#2F8B2A is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.159 H 142.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2F8B2A
RGBrgb(47, 139, 42)
HSLhsl(117, 54%, 35%)
HSVhsv(117, 70%, 55%)
CMYKcmyk(66.2%, 0%, 69.8%, 45.5%)
CIE-LABlab(50.96, -46.29, 42.28)
CIE-LCHlch(50.96, 62.69, 137.59°)
OKLaboklab(56.19% -0.126 0.0971)
OKLCHoklch(56.19% 0.159 142.4)
XYZxyz(10.8222, 19.2357, 5.3326)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8B2A #862A8B
analogous
#5F8B2A #2F8B2A #2A8B55
triadic
#2F8B2A #2A2F8B #8B2A2F
tetradic
#2F8B2A #2A5F8B #862A8B #8B552A
square
#2F8B2A #2A5F8B #862A8B #8B552A
split-complementary
#2F8B2A #552A8B #8B2A5F
monochromatic
#0F2D0E #1F5C1C #2F8B2A #3FBA38 #66CF60

Accessibility & contrast

On white

4.33
#2F8B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#2F8B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8B2A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8B2A#FFFFFF#000000##000000
##2F8B2A1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1C
Deuteranopia (green-blind)
#837633
Tritanopia (blue-blind)
#1C8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8b2a;
/* rgb */ color: rgb(47, 139, 42);
/* oklch */ color: oklch(56.2% 0.159 142.4);
Tailwind
colors: {
  custom: {
    50: '#74ae69',
    500: '#2f8b2a',
    950: '#000000',
  },
}
SCSS
$custom: #2f8b2a;
$custom-light: #74ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8b2a",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 116.907,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56194,
    "c": 0.15903,
    "h": 142.4
  },
  "luminance": 0.19237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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