#2F641B#2F641B

#2F641B is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.0% C 0.119 H 138.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2F641B
RGBrgb(47, 100, 27)
HSLhsl(104, 57%, 25%)
HSVhsv(104, 73%, 39%)
CMYKcmyk(53%, 0%, 73%, 60.8%)
CIE-LABlab(37.48, -32.22, 34.49)
CIE-LCHlch(37.48, 47.20, 133.05°)
OKLaboklab(45.03% -0.0889 0.0787)
OKLCHoklch(45.03% 0.119 138.5)
XYZxyz(5.9271, 9.7974, 2.6155)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F641B #501B64
analogous
#53641B #2F641B #1B642C
triadic
#2F641B #1B2F64 #641B2F
tetradic
#2F641B #1B5364 #501B64 #642C1B
square
#2F641B #1B5364 #501B64 #642C1B
split-complementary
#2F641B #2C1B64 #641B53
monochromatic
#0B1807 #18340E #2F641B #469428 #5CC435

Accessibility & contrast

On white

7.10
#2F641B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F641B
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F641B#FFFFFF#000000##FFFFFF
##2F641B1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B10
Deuteranopia (green-blind)
#605722
Tritanopia (blue-blind)
#2B6055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f641b;
/* rgb */ color: rgb(47, 100, 27);
/* oklch */ color: oklch(45.0% 0.119 138.5);
Tailwind
colors: {
  custom: {
    50: '#6d915c',
    500: '#2f641b',
    950: '#000000',
  },
}
SCSS
$custom: #2f641b;
$custom-light: #6d915c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f641b",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 103.562,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45025,
    "c": 0.11872,
    "h": 138.5
  },
  "luminance": 0.09798
}

Semantic roles & 50–950 ramp

primary
#2F641B
secondary
#814199
accent
#47E1B7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #2F641B

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

Preview Lab → · Contrast checker → · Palette generator →

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