#2F8A2C#2F8A2C

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

Color values

HEX#2F8A2C
RGBrgb(47, 138, 44)
HSLhsl(118, 52%, 36%)
HSVhsv(118, 68%, 54%)
CMYKcmyk(65.9%, 0%, 68.1%, 45.9%)
CIE-LABlab(50.64, -45.72, 41.07)
CIE-LCHlch(50.64, 61.45, 138.06°)
OKLaboklab(55.94% -0.1243 0.0948)
OKLCHoklch(55.94% 0.156 142.7)
XYZxyz(10.7148, 18.9621, 5.4778)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A2C #872C8A
analogous
#5E8A2C #2F8A2C #2C8A58
triadic
#2F8A2C #2C2F8A #8A2C2F
tetradic
#2F8A2C #2C5E8A #872C8A #8A582C
square
#2F8A2C #2C5E8A #872C8A #8A582C
split-complementary
#2F8A2C #582C8A #8A2C5E
monochromatic
#0F2D0E #1F5C1D #2F8A2C #3FB83B #66CD63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8A2C#FFFFFF#000000##000000
##2F8A2C1.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)
#8D7D20
Deuteranopia (green-blind)
#827635
Tritanopia (blue-blind)
#1C8677
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8a2c;
/* rgb */ color: rgb(47, 138, 44);
/* oklch */ color: oklch(55.9% 0.156 142.7);
Tailwind
colors: {
  custom: {
    50: '#74ad6a',
    500: '#2f8a2c',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a2c;
$custom-light: #74ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a2c",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 118.085,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55935,
    "c": 0.15631,
    "h": 142.7
  },
  "luminance": 0.18963
}

Semantic roles & 50–950 ramp

primary
#2F8A2C
secondary
#B15EB4
accent
#4DDBD7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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