#2F6317#2F6317

#2F6317 is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.7% C 0.120 H 137.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#2F6317
RGBrgb(47, 99, 23)
HSLhsl(101, 62%, 24%)
HSVhsv(101, 77%, 39%)
CMYKcmyk(52.5%, 0%, 76.8%, 61.2%)
CIE-LABlab(37.10, -32.14, 35.81)
CIE-LCHlch(37.10, 48.12, 131.91°)
OKLaboklab(44.7% -0.0889 0.0809)
OKLCHoklch(44.7% 0.12 137.7)
XYZxyz(5.7886, 9.5895, 2.3564)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6317 #4B1763
analogous
#556317 #2F6317 #176325
triadic
#2F6317 #172F63 #63172F
tetradic
#2F6317 #175563 #4B1763 #632517
square
#2F6317 #175563 #4B1763 #632517
split-complementary
#2F6317 #251763 #631755
monochromatic
#0C1906 #17310B #2F6317 #479523 #5EC62E

Accessibility & contrast

On white

7.20
#2F6317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F6317
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6317#FFFFFF#000000##FFFFFF
##2F63171.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0A
Deuteranopia (green-blind)
#60561E
Tritanopia (blue-blind)
#2B5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f6317;
/* rgb */ color: rgb(47, 99, 23);
/* oklch */ color: oklch(44.7% 0.120 137.7);
Tailwind
colors: {
  custom: {
    50: '#6d9059',
    500: '#2f6317',
    950: '#000000',
  },
}
SCSS
$custom: #2f6317;
$custom-light: #6d9059;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6317",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 101.053,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44701,
    "c": 0.12021,
    "h": 137.7
  },
  "luminance": 0.0959
}

Semantic roles & 50–950 ramp

primary
#2F6317
secondary
#7C3C9A
accent
#42E5B2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F6317

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

Preview Lab → · Contrast checker → · Palette generator →

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