#2F9126#2F9126

#2F9126 is a mid, vivid green. Relative luminance 0.210; OKLCH L 57.8% C 0.169 H 141.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2F9126
RGBrgb(47, 145, 38)
HSLhsl(115, 58%, 36%)
HSVhsv(115, 74%, 57%)
CMYKcmyk(67.6%, 0%, 73.8%, 43.1%)
CIE-LABlab(52.94, -48.82, 45.97)
CIE-LCHlch(52.94, 67.06, 136.72°)
OKLaboklab(57.82% -0.133 0.1043)
OKLCHoklch(57.82% 0.169 141.9)
XYZxyz(11.6469, 20.9939, 5.2718)
Luminance0.2099 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9126 #882691
analogous
#649126 #2F9126 #269152
triadic
#2F9126 #262F91 #91262F
tetradic
#2F9126 #266491 #882691 #915226
square
#2F9126 #266491 #882691 #915226
split-complementary
#2F9126 #522691 #912664
monochromatic
#10300D #1F6119 #2F9126 #3FC133 #67D55D

Accessibility & contrast

On white

4.04
#2F9126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#2F9126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9126
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9126#FFFFFF#000000##000000
##2F91261.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958313
Deuteranopia (green-blind)
#897B31
Tritanopia (blue-blind)
#1A8C7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f9126;
/* rgb */ color: rgb(47, 145, 38);
/* oklch */ color: oklch(57.8% 0.169 141.9);
Tailwind
colors: {
  custom: {
    50: '#76b267',
    500: '#2f9126',
    950: '#000000',
  },
}
SCSS
$custom: #2f9126;
$custom-light: #76b267;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9126",
  "rgb": {
    "r": 47,
    "g": 145,
    "b": 38
  },
  "hsl": {
    "h": 114.953,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57824,
    "c": 0.16905,
    "h": 141.9
  },
  "luminance": 0.20995
}

Semantic roles & 50–950 ramp

primary
#2F9126
secondary
#B159BA
accent
#46E2D5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2F9126

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

Preview Lab → · Contrast checker → · Palette generator →

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