#2F6A12#2F6A12

#2F6A12 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.132 H 137.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2F6A12
RGBrgb(47, 106, 18)
HSLhsl(100, 71%, 24%)
HSVhsv(100, 83%, 42%)
CMYKcmyk(55.7%, 0%, 83%, 58.4%)
CIE-LABlab(39.51, -35.46, 40.03)
CIE-LCHlch(39.51, 53.48, 131.53°)
OKLaboklab(46.68% -0.0982 0.0889)
OKLCHoklch(46.68% 0.132 137.8)
XYZxyz(6.4353, 10.9556, 2.3477)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6A12 #4D126A
analogous
#5B6A12 #2F6A12 #126A21
triadic
#2F6A12 #122F6A #6A122F
tetradic
#2F6A12 #125B6A #4D126A #6A2112
square
#2F6A12 #125B6A #4D126A #6A2112
split-complementary
#2F6A12 #21126A #6A125B
monochromatic
#0C1A04 #183609 #2F6A12 #469E1B #5DD324

Accessibility & contrast

On white

6.58
#2F6A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2F6A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6A12
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6A12#FFFFFF#000000##FFFFFF
##2F6A121.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#2A665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f6a12;
/* rgb */ color: rgb(47, 106, 18);
/* oklch */ color: oklch(46.7% 0.132 137.8);
Tailwind
colors: {
  custom: {
    50: '#6f9558',
    500: '#2f6a12',
    950: '#000000',
  },
}
SCSS
$custom: #2f6a12;
$custom-light: #6f9558;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6a12",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 100.227,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46675,
    "c": 0.13248,
    "h": 137.8
  },
  "luminance": 0.10956
}

Semantic roles & 50–950 ramp

primary
#2F6A12
secondary
#7E36A2
accent
#3AEEB3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6A12

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

Preview Lab → · Contrast checker → · Palette generator →

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