#2F6912#2F6912

#2F6912 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.4% C 0.131 H 137.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2F6912
RGBrgb(47, 105, 18)
HSLhsl(100, 71%, 24%)
HSVhsv(100, 83%, 41%)
CMYKcmyk(55.2%, 0%, 82.9%, 58.8%)
CIE-LABlab(39.16, -35.05, 39.70)
CIE-LCHlch(39.16, 52.96, 131.43°)
OKLaboklab(46.39% -0.0971 0.0882)
OKLCHoklch(46.39% 0.131 137.7)
XYZxyz(6.3328, 10.7507, 2.3135)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6912 #4C1269
analogous
#5B6912 #2F6912 #126921
triadic
#2F6912 #122F69 #69122F
tetradic
#2F6912 #125B69 #4C1269 #692112
square
#2F6912 #125B69 #4C1269 #692112
split-complementary
#2F6912 #211269 #69125B
monochromatic
#0C1A04 #183509 #2F6912 #469D1B #5ED124

Accessibility & contrast

On white

6.67
#2F6912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2F6912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6912
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6912#FFFFFF#000000##FFFFFF
##2F69121.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#2B6559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f6912;
/* rgb */ color: rgb(47, 105, 18);
/* oklch */ color: oklch(46.4% 0.131 137.7);
Tailwind
colors: {
  custom: {
    50: '#6f9458',
    500: '#2f6912',
    950: '#000000',
  },
}
SCSS
$custom: #2f6912;
$custom-light: #6f9458;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6912",
  "rgb": {
    "r": 47,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 100,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46388,
    "c": 0.1312,
    "h": 137.7
  },
  "luminance": 0.10751
}

Semantic roles & 50–950 ramp

primary
#2F6912
secondary
#7D36A1
accent
#3AEDB2
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6912

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

Preview Lab → · Contrast checker → · Palette generator →

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