#2F6B18#2F6B18

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

Color values

HEX#2F6B18
RGBrgb(47, 107, 24)
HSLhsl(103, 63%, 26%)
HSVhsv(103, 78%, 42%)
CMYKcmyk(56.1%, 0%, 77.6%, 58%)
CIE-LABlab(39.89, -35.45, 38.22)
CIE-LCHlch(39.89, 52.13, 132.85°)
OKLaboklab(47.01% -0.0978 0.0861)
OKLCHoklch(47.01% 0.13 138.6)
XYZxyz(6.5946, 11.1852, 2.6754)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6B18 #54186B
analogous
#586B18 #2F6B18 #186B2A
triadic
#2F6B18 #182F6B #6B182F
tetradic
#2F6B18 #18586B #54186B #6B2A18
square
#2F6B18 #18586B #54186B #6B2A18
split-complementary
#2F6B18 #2A186B #6B1858
monochromatic
#0B1906 #19390D #2F6B18 #459D23 #5BCF2E

Accessibility & contrast

On white

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

On black

3.24
#2F6B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F6B18#FFFFFF#000000##FFFFFF
##2F6B181.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f6b18;
/* rgb */ color: rgb(47, 107, 24);
/* oklch */ color: oklch(47.0% 0.130 138.6);
Tailwind
colors: {
  custom: {
    50: '#6f965b',
    500: '#2f6b18',
    950: '#000000',
  },
}
SCSS
$custom: #2f6b18;
$custom-light: #6f965b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6b18",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 103.373,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47005,
    "c": 0.13028,
    "h": 138.6
  },
  "luminance": 0.11186
}

Semantic roles & 50–950 ramp

primary
#2F6B18
secondary
#853EA1
accent
#41E6B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6B18

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

Preview Lab → · Contrast checker → · Palette generator →

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