#2F8826#2F8826

#2F8826 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.3% C 0.158 H 141.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2F8826
RGBrgb(47, 136, 38)
HSLhsl(114, 56%, 34%)
HSVhsv(114, 72%, 53%)
CMYKcmyk(65.4%, 0%, 72.1%, 46.7%)
CIE-LABlab(49.92, -45.56, 42.85)
CIE-LCHlch(49.92, 62.54, 136.76°)
OKLaboklab(55.32% -0.1242 0.0978)
OKLCHoklch(55.32% 0.158 141.8)
XYZxyz(10.3258, 18.3516, 4.8314)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8826 #7F2688
analogous
#608826 #2F8826 #26884E
triadic
#2F8826 #262F88 #88262F
tetradic
#2F8826 #266088 #7F2688 #884E26
square
#2F8826 #266088 #7F2688 #884E26
split-complementary
#2F8826 #4E2688 #882660
monochromatic
#0E280B #1E5819 #2F8826 #40B833 #63D058

Accessibility & contrast

On white

4.50
#2F8826 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2F8826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8826
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8826#FFFFFF#000000##000000
##2F88261.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B17
Deuteranopia (green-blind)
#817430
Tritanopia (blue-blind)
#1E8474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f8826;
/* rgb */ color: rgb(47, 136, 38);
/* oklch */ color: oklch(55.3% 0.158 141.8);
Tailwind
colors: {
  custom: {
    50: '#74ac66',
    500: '#2f8826',
    950: '#000000',
  },
}
SCSS
$custom: #2f8826;
$custom-light: #74ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8826",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 38
  },
  "hsl": {
    "h": 114.49,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55321,
    "c": 0.15808,
    "h": 141.8
  },
  "luminance": 0.18353
}

Semantic roles & 50–950 ramp

primary
#2F8826
secondary
#AC55B5
accent
#48E0D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8826

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

Preview Lab → · Contrast checker → · Palette generator →

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