#2F8F26#2F8F26

#2F8F26 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.167 H 141.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2F8F26
RGBrgb(47, 143, 38)
HSLhsl(115, 58%, 35%)
HSVhsv(115, 73%, 56%)
CMYKcmyk(67.1%, 0%, 73.4%, 43.9%)
CIE-LABlab(52.27, -48.10, 45.29)
CIE-LCHlch(52.27, 66.07, 136.73°)
OKLaboklab(57.27% -0.1311 0.1028)
OKLCHoklch(57.27% 0.167 141.9)
XYZxyz(11.3440, 20.3880, 5.1708)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F26 #86268F
analogous
#638F26 #2F8F26 #268F51
triadic
#2F8F26 #262F8F #8F262F
tetradic
#2F8F26 #26638F #86268F #8F5126
square
#2F8F26 #26638F #86268F #8F5126
split-complementary
#2F8F26 #51268F #8F2663
monochromatic
#0F2E0C #1F5F19 #2F8F26 #3FBF33 #66D45C

Accessibility & contrast

On white

4.14
#2F8F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#2F8F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8F26
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8F26#FFFFFF#000000##000000
##2F8F261.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928114
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#1B8B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f8f26;
/* rgb */ color: rgb(47, 143, 38);
/* oklch */ color: oklch(57.3% 0.167 141.9);
Tailwind
colors: {
  custom: {
    50: '#75b167',
    500: '#2f8f26',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f26;
$custom-light: #75b167;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f26",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 114.857,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57269,
    "c": 0.16663,
    "h": 141.9
  },
  "luminance": 0.20389
}

Semantic roles & 50–950 ramp

primary
#2F8F26
secondary
#B058B9
accent
#47E1D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2F8F26

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

Preview Lab → · Contrast checker → · Palette generator →

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