#2F8B26#2F8B26

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

Color values

HEX#2F8B26
RGBrgb(47, 139, 38)
HSLhsl(115, 57%, 35%)
HSVhsv(115, 73%, 55%)
CMYKcmyk(66.2%, 0%, 72.7%, 45.5%)
CIE-LABlab(50.93, -46.66, 43.90)
CIE-LCHlch(50.93, 64.06, 136.74°)
OKLaboklab(56.16% -0.1272 0.1)
OKLCHoklch(56.16% 0.162 141.8)
XYZxyz(10.7542, 19.2084, 4.9742)
Luminance0.1921 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8B26 #82268B
analogous
#628B26 #2F8B26 #268B4F
triadic
#2F8B26 #262F8B #8B262F
tetradic
#2F8B26 #26628B #82268B #8B4F26
square
#2F8B26 #26628B #82268B #8B4F26
split-complementary
#2F8B26 #4F268B #8B2662
monochromatic
#0E2B0C #1F5B19 #2F8B26 #3FBB33 #64D25A

Accessibility & contrast

On white

4.34
#2F8B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8B26#FFFFFF#000000##000000
##2F8B261.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f8b26;
/* rgb */ color: rgb(47, 139, 38);
/* oklch */ color: oklch(56.2% 0.162 141.8);
Tailwind
colors: {
  custom: {
    50: '#74ae67',
    500: '#2f8b26',
    950: '#000000',
  },
}
SCSS
$custom: #2f8b26;
$custom-light: #74ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8b26",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 114.653,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56157,
    "c": 0.16177,
    "h": 141.8
  },
  "luminance": 0.1921
}

Semantic roles & 50–950 ramp

primary
#2F8B26
secondary
#AE56B7
accent
#47E0D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8B26

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

Preview Lab → · Contrast checker → · Palette generator →

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