#2F6219#2F6219

#2F6219 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.4% C 0.117 H 137.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2F6219
RGBrgb(47, 98, 25)
HSLhsl(102, 59%, 24%)
HSVhsv(102, 74%, 38%)
CMYKcmyk(52%, 0%, 74.5%, 61.6%)
CIE-LABlab(36.76, -31.53, 34.62)
CIE-LCHlch(36.76, 46.83, 132.33°)
OKLaboklab(44.43% -0.0871 0.0787)
OKLCHoklch(44.43% 0.117 137.9)
XYZxyz(5.7152, 9.4095, 2.4346)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6219 #4C1962
analogous
#546219 #2F6219 #196228
triadic
#2F6219 #192F62 #62192F
tetradic
#2F6219 #195462 #4C1962 #622819
square
#2F6219 #195462 #4C1962 #622819
split-complementary
#2F6219 #281962 #621954
monochromatic
#0C1806 #18310D #2F6219 #469325 #5EC432

Accessibility & contrast

On white

7.29
#2F6219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2F6219 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6219
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6219#FFFFFF#000000##FFFFFF
##2F62191.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590E
Deuteranopia (green-blind)
#5F5520
Tritanopia (blue-blind)
#2B5E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f6219;
/* rgb */ color: rgb(47, 98, 25);
/* oklch */ color: oklch(44.4% 0.117 137.9);
Tailwind
colors: {
  custom: {
    50: '#6d8f5a',
    500: '#2f6219',
    950: '#000000',
  },
}
SCSS
$custom: #2f6219;
$custom-light: #6d8f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6219",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 25
  },
  "hsl": {
    "h": 101.918,
    "s": 59.35,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44431,
    "c": 0.11743,
    "h": 137.9
  },
  "luminance": 0.0941
}

Semantic roles & 50–950 ramp

primary
#2F6219
secondary
#7D3F98
accent
#45E3B3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F6219

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

Preview Lab → · Contrast checker → · Palette generator →

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