#2F641C#2F641C

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

Color values

HEX#2F641C
RGBrgb(47, 100, 28)
HSLhsl(104, 56%, 25%)
HSVhsv(104, 72%, 39%)
CMYKcmyk(53%, 0%, 72%, 60.8%)
CIE-LABlab(37.48, -32.13, 34.06)
CIE-LCHlch(37.48, 46.82, 133.33°)
OKLaboklab(45.03% -0.0885 0.078)
OKLCHoklch(45.03% 0.118 138.6)
XYZxyz(5.9388, 9.8021, 2.6774)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F641C #511C64
analogous
#53641C #2F641C #1C642D
triadic
#2F641C #1C2F64 #641C2F
tetradic
#2F641C #1C5364 #511C64 #642D1C
square
#2F641C #1C5364 #511C64 #642D1C
split-complementary
#2F641C #2D1C64 #641C53
monochromatic
#0B1807 #19340F #2F641C #459429 #5CC437

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F641C#FFFFFF#000000##FFFFFF
##2F641C1.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)
#675B12
Deuteranopia (green-blind)
#605722
Tritanopia (blue-blind)
#2B6055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f641c;
/* rgb */ color: rgb(47, 100, 28);
/* oklch */ color: oklch(45.0% 0.118 138.6);
Tailwind
colors: {
  custom: {
    50: '#6d915c',
    500: '#2f641c',
    950: '#000000',
  },
}
SCSS
$custom: #2f641c;
$custom-light: #6d915c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f641c",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 28
  },
  "hsl": {
    "h": 104.167,
    "s": 56.25,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45034,
    "c": 0.11796,
    "h": 138.6
  },
  "luminance": 0.09803
}

Semantic roles & 50–950 ramp

primary
#2F641C
secondary
#824399
accent
#48E0B8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #2F641C

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

Preview Lab → · Contrast checker → · Palette generator →

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