#2F6119#2F6119

#2F6119 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.1% C 0.116 H 137.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#2F6119
RGBrgb(47, 97, 25)
HSLhsl(102, 59%, 24%)
HSVhsv(102, 74%, 38%)
CMYKcmyk(51.5%, 0%, 74.2%, 62%)
CIE-LABlab(36.41, -31.09, 34.26)
CIE-LCHlch(36.41, 46.26, 132.23°)
OKLaboklab(44.14% -0.0859 0.078)
OKLCHoklch(44.14% 0.116 137.8)
XYZxyz(5.6223, 9.2235, 2.4036)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6119 #4B1961
analogous
#536119 #2F6119 #196127
triadic
#2F6119 #192F61 #61192F
tetradic
#2F6119 #195361 #4B1961 #612719
square
#2F6119 #195361 #4B1961 #612719
split-complementary
#2F6119 #271961 #611953
monochromatic
#0C1806 #17300C #2F6119 #479226 #5EC232

Accessibility & contrast

On white

7.38
#2F6119 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2F6119 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6119
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6119#FFFFFF#000000##FFFFFF
##2F61191.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580E
Deuteranopia (green-blind)
#5E5420
Tritanopia (blue-blind)
#2C5D53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f6119;
/* rgb */ color: rgb(47, 97, 25);
/* oklch */ color: oklch(44.1% 0.116 137.8);
Tailwind
colors: {
  custom: {
    50: '#6d8e5a',
    500: '#2f6119',
    950: '#000000',
  },
}
SCSS
$custom: #2f6119;
$custom-light: #6d8e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6119",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 25
  },
  "hsl": {
    "h": 101.667,
    "s": 59.016,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44144,
    "c": 0.11603,
    "h": 137.8
  },
  "luminance": 0.09224
}

Semantic roles & 50–950 ramp

primary
#2F6119
secondary
#7C3F97
accent
#46E2B2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F6119

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

Preview Lab → · Contrast checker → · Palette generator →

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