#2F6117#2F6117

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

Color values

HEX#2F6117
RGBrgb(47, 97, 23)
HSLhsl(101, 62%, 24%)
HSVhsv(101, 76%, 38%)
CMYKcmyk(51.5%, 0%, 76.3%, 62%)
CIE-LABlab(36.40, -31.26, 35.10)
CIE-LCHlch(36.40, 47.00, 131.69°)
OKLaboklab(44.13% -0.0866 0.0794)
OKLCHoklch(44.13% 0.117 137.5)
XYZxyz(5.6015, 9.2152, 2.2940)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6117 #491761
analogous
#546117 #2F6117 #176124
triadic
#2F6117 #172F61 #61172F
tetradic
#2F6117 #175461 #491761 #612417
square
#2F6117 #175461 #491761 #612417
split-complementary
#2F6117 #241761 #611754
monochromatic
#0C1906 #17300B #2F6117 #479223 #5FC42E

Accessibility & contrast

On white

7.39
#2F6117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F6117
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6117#FFFFFF#000000##FFFFFF
##2F61171.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580A
Deuteranopia (green-blind)
#5E541E
Tritanopia (blue-blind)
#2C5D52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f6117;
/* rgb */ color: rgb(47, 97, 23);
/* oklch */ color: oklch(44.1% 0.117 137.5);
Tailwind
colors: {
  custom: {
    50: '#6d8e59',
    500: '#2f6117',
    950: '#000000',
  },
}
SCSS
$custom: #2f6117;
$custom-light: #6d8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6117",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 23
  },
  "hsl": {
    "h": 100.541,
    "s": 61.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44126,
    "c": 0.11747,
    "h": 137.5
  },
  "luminance": 0.09216
}

Semantic roles & 50–950 ramp

primary
#2F6117
secondary
#7A3C98
accent
#43E5B0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F6117

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

Preview Lab → · Contrast checker → · Palette generator →

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