#2F6415#2F6415

#2F6415 is a dark, vivid green. Relative luminance 0.098; OKLCH L 45.0% C 0.123 H 137.5°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#2F6415
RGBrgb(47, 100, 21)
HSLhsl(100, 65%, 24%)
HSVhsv(100, 79%, 39%)
CMYKcmyk(53%, 0%, 79%, 60.8%)
CIE-LABlab(37.43, -32.73, 36.94)
CIE-LCHlch(37.43, 49.36, 131.54°)
OKLaboklab(44.97% -0.0906 0.083)
OKLCHoklch(44.97% 0.123 137.5)
XYZxyz(5.8646, 9.7724, 2.2865)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6415 #4A1564
analogous
#566415 #2F6415 #156422
triadic
#2F6415 #152F64 #64152F
tetradic
#2F6415 #155664 #4A1564 #642215
square
#2F6415 #155664 #4A1564 #642215
split-complementary
#2F6415 #221564 #641556
monochromatic
#0C1905 #17310A #2F6415 #479720 #5FC92A

Accessibility & contrast

On white

7.11
#2F6415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2F6415 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6415
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6415#FFFFFF#000000##FFFFFF
##2F64151.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B05
Deuteranopia (green-blind)
#61561D
Tritanopia (blue-blind)
#2B6055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f6415;
/* rgb */ color: rgb(47, 100, 21);
/* oklch */ color: oklch(45.0% 0.123 137.5);
Tailwind
colors: {
  custom: {
    50: '#6e9159',
    500: '#2f6415',
    950: '#000000',
  },
}
SCSS
$custom: #2f6415;
$custom-light: #6e9159;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6415",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 21
  },
  "hsl": {
    "h": 100.253,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44973,
    "c": 0.12287,
    "h": 137.5
  },
  "luminance": 0.09773
}

Semantic roles & 50–950 ramp

primary
#2F6415
secondary
#7B3A9B
accent
#40E8B1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F6415

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

Preview Lab → · Contrast checker → · Palette generator →

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