#2F8A26#2F8A26

#2F8A26 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.161 H 141.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2F8A26
RGBrgb(47, 138, 38)
HSLhsl(115, 57%, 35%)
HSVhsv(115, 72%, 54%)
CMYKcmyk(65.9%, 0%, 72.5%, 45.9%)
CIE-LABlab(50.59, -46.29, 43.55)
CIE-LCHlch(50.59, 63.56, 136.75°)
OKLaboklab(55.88% -0.1262 0.0992)
OKLCHoklch(55.88% 0.161 141.8)
XYZxyz(10.6101, 18.9202, 4.9262)
Luminance0.1892 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A26 #81268A
analogous
#618A26 #2F8A26 #268A4F
triadic
#2F8A26 #262F8A #8A262F
tetradic
#2F8A26 #26618A #81268A #8A4F26
square
#2F8A26 #26618A #81268A #8A4F26
split-complementary
#2F8A26 #4F268A #8A2661
monochromatic
#0E2A0C #1F5A19 #2F8A26 #3FBA33 #64D159

Accessibility & contrast

On white

4.39
#2F8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2F8A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A26
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A26#FFFFFF#000000##000000
##2F8A261.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D16
Deuteranopia (green-blind)
#827630
Tritanopia (blue-blind)
#1E8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8a26;
/* rgb */ color: rgb(47, 138, 38);
/* oklch */ color: oklch(55.9% 0.161 141.8);
Tailwind
colors: {
  custom: {
    50: '#74ad66',
    500: '#2f8a26',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a26;
$custom-light: #74ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a26",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 114.6,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55879,
    "c": 0.16054,
    "h": 141.8
  },
  "luminance": 0.18921
}

Semantic roles & 50–950 ramp

primary
#2F8A26
secondary
#AD56B6
accent
#48E0D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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