#2F641F#2F641F

#2F641F is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.1% C 0.116 H 139.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#2F641F
RGBrgb(47, 100, 31)
HSLhsl(106, 53%, 26%)
HSVhsv(106, 69%, 39%)
CMYKcmyk(53%, 0%, 69%, 60.8%)
CIE-LABlab(37.51, -31.83, 32.70)
CIE-LCHlch(37.51, 45.63, 134.23°)
OKLaboklab(45.07% -0.0875 0.0755)
OKLCHoklch(45.07% 0.116 139.2)
XYZxyz(5.9766, 9.8172, 2.8760)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F641F #541F64
analogous
#51641F #2F641F #1F6431
triadic
#2F641F #1F2F64 #641F2F
tetradic
#2F641F #1F5164 #541F64 #64311F
square
#2F641F #1F5164 #541F64 #64311F
split-complementary
#2F641F #311F64 #641F51
monochromatic
#0B1707 #193511 #2F641F #45932D #5BC13C

Accessibility & contrast

On white

7.09
#2F641F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2F641F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F641F
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F641F#FFFFFF#000000##FFFFFF
##2F641F1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B16
Deuteranopia (green-blind)
#605725
Tritanopia (blue-blind)
#2A6156
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f641f;
/* rgb */ color: rgb(47, 100, 31);
/* oklch */ color: oklch(45.1% 0.116 139.2);
Tailwind
colors: {
  custom: {
    50: '#6d915e',
    500: '#2f641f',
    950: '#000000',
  },
}
SCSS
$custom: #2f641f;
$custom-light: #6d915e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f641f",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 106.087,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45066,
    "c": 0.11556,
    "h": 139.2
  },
  "luminance": 0.09818
}

Semantic roles & 50–950 ramp

primary
#2F641F
secondary
#854698
accent
#4CDCBB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #2F641F

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

Preview Lab → · Contrast checker → · Palette generator →

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