#2F8825#2F8825

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

Color values

HEX#2F8825
RGBrgb(47, 136, 37)
HSLhsl(114, 57%, 34%)
HSVhsv(114, 73%, 53%)
CMYKcmyk(65.4%, 0%, 72.8%, 46.7%)
CIE-LABlab(49.91, -45.65, 43.25)
CIE-LCHlch(49.91, 62.88, 136.55°)
OKLaboklab(55.31% -0.1245 0.0985)
OKLCHoklch(55.31% 0.159 141.7)
XYZxyz(10.3098, 18.3452, 4.7476)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8825 #7E2588
analogous
#618825 #2F8825 #25884D
triadic
#2F8825 #252F88 #88252F
tetradic
#2F8825 #256188 #7E2588 #884D25
square
#2F8825 #256188 #7E2588 #884D25
split-complementary
#2F8825 #4D2588 #882561
monochromatic
#0E280B #1E5818 #2F8825 #40B832 #63D156

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8825#FFFFFF#000000##000000
##2F88251.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)
#8B7B15
Deuteranopia (green-blind)
#81742F
Tritanopia (blue-blind)
#1F8474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f8825;
/* rgb */ color: rgb(47, 136, 37);
/* oklch */ color: oklch(55.3% 0.159 141.7);
Tailwind
colors: {
  custom: {
    50: '#74ac66',
    500: '#2f8825',
    950: '#000000',
  },
}
SCSS
$custom: #2f8825;
$custom-light: #74ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8825",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 37
  },
  "hsl": {
    "h": 113.939,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55312,
    "c": 0.15875,
    "h": 141.7
  },
  "luminance": 0.18346
}

Semantic roles & 50–950 ramp

primary
#2F8825
secondary
#AC53B6
accent
#47E0D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8825

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

Preview Lab → · Contrast checker → · Palette generator →

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