#2F7936#2F7936

#2F7936 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.3% C 0.125 H 145.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2F7936
RGBrgb(47, 121, 54)
HSLhsl(126, 44%, 33%)
HSVhsv(126, 61%, 47%)
CMYKcmyk(61.2%, 0%, 55.4%, 52.5%)
CIE-LABlab(45.00, -37.83, 29.76)
CIE-LCHlch(45.00, 48.13, 141.81°)
OKLaboklab(51.32% -0.1025 0.0713)
OKLCHoklch(51.32% 0.125 145.2)
XYZxyz(8.6750, 14.5446, 5.8395)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7936 #792F72
analogous
#4D792F #2F7936 #2F795B
triadic
#2F7936 #362F79 #79362F
tetradic
#2F7936 #2F4D79 #792F72 #795B2F
square
#2F7936 #2F4D79 #792F72 #795B2F
split-complementary
#2F7936 #5B2F79 #792F4D
monochromatic
#0D210F #1E4D22 #2F7936 #40A54A #61C26A

Accessibility & contrast

On white

5.37
#2F7936 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2F7936 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7936
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7936#FFFFFF#000000##FFFFFF
##2F79361.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E30
Deuteranopia (green-blind)
#71683B
Tritanopia (blue-blind)
#20766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f7936;
/* rgb */ color: rgb(47, 121, 54);
/* oklch */ color: oklch(51.3% 0.125 145.2);
Tailwind
colors: {
  custom: {
    50: '#70a06f',
    500: '#2f7936',
    950: '#000000',
  },
}
SCSS
$custom: #2f7936;
$custom-light: #70a06f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7936",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 54
  },
  "hsl": {
    "h": 125.676,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51315,
    "c": 0.12487,
    "h": 145.2
  },
  "luminance": 0.14545
}

Semantic roles & 50–950 ramp

primary
#2F7936
secondary
#A85BA1
accent
#54C8D4
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2F7936

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

Preview Lab → · Contrast checker → · Palette generator →

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