#2F6017#2F6017

#2F6017 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.8% C 0.116 H 137.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2F6017
RGBrgb(47, 96, 23)
HSLhsl(100, 61%, 23%)
HSVhsv(100, 76%, 38%)
CMYKcmyk(51%, 0%, 76%, 62.4%)
CIE-LABlab(36.05, -30.82, 34.74)
CIE-LCHlch(36.05, 46.44, 131.58°)
OKLaboklab(43.84% -0.0854 0.0787)
OKLCHoklch(43.84% 0.116 137.3)
XYZxyz(5.5096, 9.0316, 2.2634)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6017 #481760
analogous
#536017 #2F6017 #176023
triadic
#2F6017 #172F60 #60172F
tetradic
#2F6017 #175360 #481760 #602317
square
#2F6017 #175360 #481760 #602317
split-complementary
#2F6017 #231760 #601753
monochromatic
#0C1906 #172F0B #2F6017 #479123 #5FC32F

Accessibility & contrast

On white

7.48
#2F6017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2F6017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6017
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6017#FFFFFF#000000##FFFFFF
##2F60171.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570B
Deuteranopia (green-blind)
#5D531E
Tritanopia (blue-blind)
#2C5C52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f6017;
/* rgb */ color: rgb(47, 96, 23);
/* oklch */ color: oklch(43.8% 0.116 137.3);
Tailwind
colors: {
  custom: {
    50: '#6d8d59',
    500: '#2f6017',
    950: '#000000',
  },
}
SCSS
$custom: #2f6017;
$custom-light: #6d8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6017",
  "rgb": {
    "r": 47,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 100.274,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43838,
    "c": 0.11608,
    "h": 137.3
  },
  "luminance": 0.09032
}

Semantic roles & 50–950 ramp

primary
#2F6017
secondary
#793C97
accent
#43E4AF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F6017

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

Preview Lab → · Contrast checker → · Palette generator →

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