#2F6319#2F6319

#2F6319 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.7% C 0.119 H 138.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#2F6319
RGBrgb(47, 99, 25)
HSLhsl(102, 60%, 24%)
HSVhsv(102, 75%, 39%)
CMYKcmyk(52.5%, 0%, 74.7%, 61.2%)
CIE-LABlab(37.11, -31.97, 34.98)
CIE-LCHlch(37.11, 47.39, 132.42°)
OKLaboklab(44.72% -0.0883 0.0795)
OKLCHoklch(44.72% 0.119 138)
XYZxyz(5.8094, 9.5978, 2.4660)
Luminance0.0960 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6319 #4D1963
analogous
#546319 #2F6319 #196328
triadic
#2F6319 #192F63 #63192F
tetradic
#2F6319 #195463 #4D1963 #632819
square
#2F6319 #195463 #4D1963 #632819
split-complementary
#2F6319 #281963 #631954
monochromatic
#0C1806 #18320D #2F6319 #469425 #5DC532

Accessibility & contrast

On white

7.19
#2F6319 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2F6319 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6319
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6319#FFFFFF#000000##FFFFFF
##2F63191.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0D
Deuteranopia (green-blind)
#5F5620
Tritanopia (blue-blind)
#2B5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f6319;
/* rgb */ color: rgb(47, 99, 25);
/* oklch */ color: oklch(44.7% 0.119 138.0);
Tailwind
colors: {
  custom: {
    50: '#6d905b',
    500: '#2f6319',
    950: '#000000',
  },
}
SCSS
$custom: #2f6319;
$custom-light: #6d905b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6319",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 25
  },
  "hsl": {
    "h": 102.162,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44719,
    "c": 0.11881,
    "h": 138
  },
  "luminance": 0.09598
}

Semantic roles & 50–950 ramp

primary
#2F6319
secondary
#7E3F99
accent
#45E3B4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F6319

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

Preview Lab → · Contrast checker → · Palette generator →

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