#2F8B2C#2F8B2C

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

Color values

HEX#2F8B2C
RGBrgb(47, 139, 44)
HSLhsl(118, 52%, 36%)
HSVhsv(118, 68%, 55%)
CMYKcmyk(66.2%, 0%, 68.3%, 45.5%)
CIE-LABlab(50.98, -46.09, 41.43)
CIE-LCHlch(50.98, 61.97, 138.04°)
OKLaboklab(56.21% -0.1253 0.0955)
OKLCHoklch(56.21% 0.158 142.7)
XYZxyz(10.8589, 19.2503, 5.5258)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8B2C #882C8B
analogous
#5E8B2C #2F8B2C #2C8B58
triadic
#2F8B2C #2C2F8B #8B2C2F
tetradic
#2F8B2C #2C5E8B #882C8B #8B582C
square
#2F8B2C #2C5E8B #882C8B #8B582C
split-complementary
#2F8B2C #582C8B #8B2C5E
monochromatic
#102E0F #1F5D1D #2F8B2C #3FB93B #67CE64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8B2C#FFFFFF#000000##000000
##2F8B2C1.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)
#8E7E1F
Deuteranopia (green-blind)
#837635
Tritanopia (blue-blind)
#1C8778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8b2c;
/* rgb */ color: rgb(47, 139, 44);
/* oklch */ color: oklch(56.2% 0.158 142.7);
Tailwind
colors: {
  custom: {
    50: '#74ae6a',
    500: '#2f8b2c',
    950: '#000000',
  },
}
SCSS
$custom: #2f8b2c;
$custom-light: #74ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8b2c",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 118.105,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56213,
    "c": 0.15757,
    "h": 142.7
  },
  "luminance": 0.19251
}

Semantic roles & 50–950 ramp

primary
#2F8B2C
secondary
#B15FB4
accent
#4CDBD7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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