#2F6D12#2F6D12

#2F6D12 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.5% C 0.136 H 138.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#2F6D12
RGBrgb(47, 109, 18)
HSLhsl(101, 72%, 25%)
HSVhsv(101, 83%, 43%)
CMYKcmyk(56.9%, 0%, 83.5%, 57.3%)
CIE-LABlab(40.55, -36.69, 41.01)
CIE-LCHlch(40.55, 55.03, 131.81°)
OKLaboklab(47.54% -0.1015 0.091)
OKLCHoklch(47.54% 0.136 138.1)
XYZxyz(6.7499, 11.5847, 2.4525)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6D12 #50126D
analogous
#5D6D12 #2F6D12 #126D22
triadic
#2F6D12 #122F6D #6D122F
tetradic
#2F6D12 #125D6D #50126D #6D2212
square
#2F6D12 #125D6D #50126D #6D2212
split-complementary
#2F6D12 #22126D #6D125D
monochromatic
#0B1A04 #183809 #2F6D12 #46A21B #5CD623

Accessibility & contrast

On white

6.33
#2F6D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2F6D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6D12
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6D12#FFFFFF#000000##FFFFFF
##2F6D121.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#695E1D
Tritanopia (blue-blind)
#2A695C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f6d12;
/* rgb */ color: rgb(47, 109, 18);
/* oklch */ color: oklch(47.5% 0.136 138.1);
Tailwind
colors: {
  custom: {
    50: '#6f9759',
    500: '#2f6d12',
    950: '#000000',
  },
}
SCSS
$custom: #2f6d12;
$custom-light: #6f9759;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6d12",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 18
  },
  "hsl": {
    "h": 100.879,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47535,
    "c": 0.13631,
    "h": 138.1
  },
  "luminance": 0.11585
}

Semantic roles & 50–950 ramp

primary
#2F6D12
secondary
#8137A4
accent
#39EEB5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6D12

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

Preview Lab → · Contrast checker → · Palette generator →

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