#2F6118#2F6118

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

Color values

HEX#2F6118
RGBrgb(47, 97, 24)
HSLhsl(101, 60%, 24%)
HSVhsv(101, 75%, 38%)
CMYKcmyk(51.5%, 0%, 75.3%, 62%)
CIE-LABlab(36.40, -31.18, 34.68)
CIE-LCHlch(36.40, 46.64, 131.96°)
OKLaboklab(44.13% -0.0863 0.0787)
OKLCHoklch(44.13% 0.117 137.6)
XYZxyz(5.6117, 9.2193, 2.3478)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6118 #4A1861
analogous
#536118 #2F6118 #186125
triadic
#2F6118 #182F61 #61182F
tetradic
#2F6118 #185361 #4A1861 #612518
square
#2F6118 #185361 #4A1861 #612518
split-complementary
#2F6118 #251861 #611853
monochromatic
#0C1906 #17300C #2F6118 #479224 #5FC330

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6118#FFFFFF#000000##FFFFFF
##2F61181.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)
#64580C
Deuteranopia (green-blind)
#5E541F
Tritanopia (blue-blind)
#2C5D53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f6118;
/* rgb */ color: rgb(47, 97, 24);
/* oklch */ color: oklch(44.1% 0.117 137.6);
Tailwind
colors: {
  custom: {
    50: '#6d8e5a',
    500: '#2f6118',
    950: '#000000',
  },
}
SCSS
$custom: #2f6118;
$custom-light: #6d8e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6118",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 24
  },
  "hsl": {
    "h": 101.096,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44134,
    "c": 0.11676,
    "h": 137.6
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

primary
#2F6118
secondary
#7B3D97
accent
#44E3B1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F6118

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

Preview Lab → · Contrast checker → · Palette generator →

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