#2F8B28#2F8B28

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

Color values

HEX#2F8B28
RGBrgb(47, 139, 40)
HSLhsl(116, 55%, 35%)
HSVhsv(116, 71%, 55%)
CMYKcmyk(66.2%, 0%, 71.2%, 45.5%)
CIE-LABlab(50.95, -46.48, 43.10)
CIE-LCHlch(50.95, 63.39, 137.16°)
OKLaboklab(56.18% -0.1266 0.0985)
OKLCHoklch(56.18% 0.16 142.1)
XYZxyz(10.7873, 19.2217, 5.1487)
Luminance0.1922 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8B28 #84288B
analogous
#608B28 #2F8B28 #288B53
triadic
#2F8B28 #282F8B #8B282F
tetradic
#2F8B28 #28608B #84288B #8B5328
square
#2F8B28 #28608B #84288B #8B5328
split-complementary
#2F8B28 #53288B #8B2860
monochromatic
#0F2C0D #1F5B1A #2F8B28 #3FBB36 #65D05D

Accessibility & contrast

On white

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

On black

4.84
#2F8B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8B28
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8B28#FFFFFF#000000##000000
##2F8B281.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E19
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#1D8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8b28;
/* rgb */ color: rgb(47, 139, 40);
/* oklch */ color: oklch(56.2% 0.160 142.1);
Tailwind
colors: {
  custom: {
    50: '#74ae68',
    500: '#2f8b28',
    950: '#000000',
  },
}
SCSS
$custom: #2f8b28;
$custom-light: #74ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8b28",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 115.758,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56175,
    "c": 0.16042,
    "h": 142.1
  },
  "luminance": 0.19223
}

Semantic roles & 50–950 ramp

primary
#2F8B28
secondary
#AF59B6
accent
#49DFD4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8B28

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

Preview Lab → · Contrast checker → · Palette generator →

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