#2F6615#2F6615

#2F6615 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.126 H 137.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2F6615
RGBrgb(47, 102, 21)
HSLhsl(101, 66%, 24%)
HSVhsv(101, 79%, 40%)
CMYKcmyk(53.9%, 0%, 79.4%, 60%)
CIE-LABlab(38.13, -33.58, 37.63)
CIE-LCHlch(38.13, 50.44, 131.75°)
OKLaboklab(45.55% -0.0929 0.0844)
OKLCHoklch(45.55% 0.126 137.8)
XYZxyz(6.0588, 10.1608, 2.3513)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6615 #4C1566
analogous
#586615 #2F6615 #156624
triadic
#2F6615 #152F66 #66152F
tetradic
#2F6615 #155866 #4C1566 #662415
square
#2F6615 #155866 #4C1566 #662415
split-complementary
#2F6615 #241566 #661558
monochromatic
#0C1905 #18330B #2F6615 #46991F #5ECC2A

Accessibility & contrast

On white

6.93
#2F6615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2F6615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6615
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6615#FFFFFF#000000##FFFFFF
##2F66151.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D05
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#2B6257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f6615;
/* rgb */ color: rgb(47, 102, 21);
/* oklch */ color: oklch(45.5% 0.126 137.8);
Tailwind
colors: {
  custom: {
    50: '#6e9259',
    500: '#2f6615',
    950: '#000000',
  },
}
SCSS
$custom: #2f6615;
$custom-light: #6e9259;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6615",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 21
  },
  "hsl": {
    "h": 100.741,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45548,
    "c": 0.12554,
    "h": 137.8
  },
  "luminance": 0.10161
}

Semantic roles & 50–950 ramp

primary
#2F6615
secondary
#7D3A9D
accent
#3FE9B2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6615

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

Preview Lab → · Contrast checker → · Palette generator →

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