#2F6A18#2F6A18

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

Color values

HEX#2F6A18
RGBrgb(47, 106, 24)
HSLhsl(103, 63%, 25%)
HSVhsv(103, 77%, 42%)
CMYKcmyk(55.7%, 0%, 77.4%, 58.4%)
CIE-LABlab(39.54, -35.03, 37.87)
CIE-LCHlch(39.54, 51.59, 132.77°)
OKLaboklab(46.72% -0.0967 0.0854)
OKLCHoklch(46.72% 0.129 138.6)
XYZxyz(6.4910, 10.9778, 2.6409)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6A18 #53186A
analogous
#586A18 #2F6A18 #186A2A
triadic
#2F6A18 #182F6A #6A182F
tetradic
#2F6A18 #18586A #53186A #6A2A18
square
#2F6A18 #18586A #53186A #6A2A18
split-complementary
#2F6A18 #2A186A #6A1858
monochromatic
#0B1906 #19380D #2F6A18 #459C23 #5BCE2F

Accessibility & contrast

On white

6.57
#2F6A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2F6A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6A18
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6A18#FFFFFF#000000##FFFFFF
##2F6A181.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f6a18;
/* rgb */ color: rgb(47, 106, 24);
/* oklch */ color: oklch(46.7% 0.129 138.6);
Tailwind
colors: {
  custom: {
    50: '#6e955b',
    500: '#2f6a18',
    950: '#000000',
  },
}
SCSS
$custom: #2f6a18;
$custom-light: #6e955b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6a18",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 103.171,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46718,
    "c": 0.12896,
    "h": 138.6
  },
  "luminance": 0.10978
}

Semantic roles & 50–950 ramp

primary
#2F6A18
secondary
#843EA0
accent
#42E6B8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6A18

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

Preview Lab → · Contrast checker → · Palette generator →

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