#2F8E26#2F8E26

#2F8E26 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.165 H 141.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2F8E26
RGBrgb(47, 142, 38)
HSLhsl(115, 58%, 35%)
HSVhsv(115, 73%, 56%)
CMYKcmyk(66.9%, 0%, 73.2%, 44.3%)
CIE-LABlab(51.94, -47.75, 44.94)
CIE-LCHlch(51.94, 65.57, 136.73°)
OKLaboklab(56.99% -0.1301 0.1021)
OKLCHoklch(56.99% 0.165 141.9)
XYZxyz(11.1945, 20.0891, 5.1210)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E26 #85268E
analogous
#638E26 #2F8E26 #268E51
triadic
#2F8E26 #262F8E #8E262F
tetradic
#2F8E26 #26638E #85268E #8E5126
square
#2F8E26 #26638E #85268E #8E5126
split-complementary
#2F8E26 #51268E #8E2663
monochromatic
#0F2D0C #1F5E19 #2F8E26 #3FBE33 #66D35B

Accessibility & contrast

On white

4.18
#2F8E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#2F8E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E26
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E26#FFFFFF#000000##000000
##2F8E261.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918115
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#1C8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8e26;
/* rgb */ color: rgb(47, 142, 38);
/* oklch */ color: oklch(57.0% 0.165 141.9);
Tailwind
colors: {
  custom: {
    50: '#75b067',
    500: '#2f8e26',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e26;
$custom-light: #75b067;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e26",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 114.808,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56992,
    "c": 0.16542,
    "h": 141.9
  },
  "luminance": 0.2009
}

Semantic roles & 50–950 ramp

primary
#2F8E26
secondary
#B058B8
accent
#47E1D4
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2F8E26

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

Preview Lab → · Contrast checker → · Palette generator →

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