#2F6D18#2F6D18

#2F6D18 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.6% C 0.133 H 138.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#2F6D18
RGBrgb(47, 109, 24)
HSLhsl(104, 64%, 26%)
HSVhsv(104, 78%, 43%)
CMYKcmyk(56.9%, 0%, 78%, 57.3%)
CIE-LABlab(40.58, -36.28, 38.91)
CIE-LCHlch(40.58, 53.20, 132.99°)
OKLaboklab(47.58% -0.1 0.0875)
OKLCHoklch(47.58% 0.133 138.8)
XYZxyz(6.8055, 11.6070, 2.7457)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6D18 #56186D
analogous
#596D18 #2F6D18 #186D2B
triadic
#2F6D18 #182F6D #6D182F
tetradic
#2F6D18 #18596D #56186D #6D2B18
square
#2F6D18 #18596D #56186D #6D2B18
split-complementary
#2F6D18 #2B186D #6D1859
monochromatic
#0B1906 #193B0D #2F6D18 #459F23 #5AD12E

Accessibility & contrast

On white

6.32
#2F6D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F6D18
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6D18#FFFFFF#000000##FFFFFF
##2F6D181.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706307
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#29695D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f6d18;
/* rgb */ color: rgb(47, 109, 24);
/* oklch */ color: oklch(47.6% 0.133 138.8);
Tailwind
colors: {
  custom: {
    50: '#6f975b',
    500: '#2f6d18',
    950: '#000000',
  },
}
SCSS
$custom: #2f6d18;
$custom-light: #6f975b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6d18",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 103.765,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47577,
    "c": 0.1329,
    "h": 138.8
  },
  "luminance": 0.11608
}

Semantic roles & 50–950 ramp

primary
#2F6D18
secondary
#873EA3
accent
#41E7BA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6D18

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

Preview Lab → · Contrast checker → · Palette generator →

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