#2F6B15#2F6B15

#2F6B15 is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.0% C 0.132 H 138.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#2F6B15
RGBrgb(47, 107, 21)
HSLhsl(102, 67%, 25%)
HSVhsv(102, 80%, 42%)
CMYKcmyk(56.1%, 0%, 80.4%, 58%)
CIE-LABlab(39.87, -35.67, 39.33)
CIE-LCHlch(39.87, 53.10, 132.21°)
OKLaboklab(46.98% -0.0986 0.0879)
OKLCHoklch(46.98% 0.132 138.3)
XYZxyz(6.5651, 11.1734, 2.5200)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6B15 #51156B
analogous
#5A6B15 #2F6B15 #156B26
triadic
#2F6B15 #152F6B #6B152F
tetradic
#2F6B15 #155A6B #51156B #6B2615
square
#2F6B15 #155A6B #51156B #6B2615
split-complementary
#2F6B15 #26156B #6B155A
monochromatic
#0B1A05 #19380B #2F6B15 #459E1F #5CD129

Accessibility & contrast

On white

6.49
#2F6B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2F6B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6B15
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6B15#FFFFFF#000000##FFFFFF
##2F6B151.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6102
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#2A675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f6b15;
/* rgb */ color: rgb(47, 107, 21);
/* oklch */ color: oklch(47.0% 0.132 138.3);
Tailwind
colors: {
  custom: {
    50: '#6f965a',
    500: '#2f6b15',
    950: '#000000',
  },
}
SCSS
$custom: #2f6b15;
$custom-light: #6f965a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6b15",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 101.86,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46982,
    "c": 0.13211,
    "h": 138.3
  },
  "luminance": 0.11174
}

Semantic roles & 50–950 ramp

primary
#2F6B15
secondary
#823AA2
accent
#3EEAB6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6B15

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

Preview Lab → · Contrast checker → · Palette generator →

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