#2F7326#2F7326

#2F7326 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.131 H 141.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#2F7326
RGBrgb(47, 115, 38)
HSLhsl(113, 50%, 30%)
HSVhsv(113, 67%, 45%)
CMYKcmyk(59.1%, 0%, 67%, 54.9%)
CIE-LABlab(42.77, -37.42, 35.18)
CIE-LCHlch(42.77, 51.36, 136.77°)
OKLaboklab(49.42% -0.1022 0.0816)
OKLCHoklch(49.42% 0.131 141.4)
XYZxyz(7.6525, 13.0051, 3.9403)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7326 #6A2673
analogous
#567326 #2F7326 #267343
triadic
#2F7326 #262F73 #73262F
tetradic
#2F7326 #265673 #6A2673 #734326
square
#2F7326 #265673 #6A2673 #734326
split-complementary
#2F7326 #432673 #732656
monochromatic
#091708 #1C4517 #2F7326 #42A135 #5CC54F

Accessibility & contrast

On white

5.83
#2F7326 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2F7326 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7326
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7326#FFFFFF#000000##FFFFFF
##2F73261.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691D
Deuteranopia (green-blind)
#6D632D
Tritanopia (blue-blind)
#266F63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f7326;
/* rgb */ color: rgb(47, 115, 38);
/* oklch */ color: oklch(49.4% 0.131 141.4);
Tailwind
colors: {
  custom: {
    50: '#6f9c64',
    500: '#2f7326',
    950: '#000000',
  },
}
SCSS
$custom: #2f7326;
$custom-light: #6f9c64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7326",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 38
  },
  "hsl": {
    "h": 112.987,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.49416,
    "c": 0.13076,
    "h": 141.4
  },
  "luminance": 0.13006
}

Semantic roles & 50–950 ramp

primary
#2F7326
secondary
#9B4FA6
accent
#4EDAC9
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2F7326

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

Preview Lab → · Contrast checker → · Palette generator →

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