#2F6622#2F6622

#2F6622 is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.7% C 0.116 H 140.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2F6622
RGBrgb(47, 102, 34)
HSLhsl(109, 50%, 27%)
HSVhsv(109, 67%, 40%)
CMYKcmyk(53.9%, 0%, 66.7%, 60%)
CIE-LABlab(38.24, -32.38, 32.06)
CIE-LCHlch(38.24, 45.57, 135.28°)
OKLaboklab(45.67% -0.0888 0.0745)
OKLCHoklch(45.67% 0.116 140)
XYZxyz(6.2121, 10.2221, 3.1588)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6622 #592266
analogous
#516622 #2F6622 #226637
triadic
#2F6622 #222F66 #66222F
tetradic
#2F6622 #225166 #592266 #663722
square
#2F6622 #225166 #592266 #663722
split-complementary
#2F6622 #372266 #662251
monochromatic
#0B1708 #1A3813 #2F6622 #449431 #5AC042

Accessibility & contrast

On white

6.90
#2F6622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2F6622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6622
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6622#FFFFFF#000000##FFFFFF
##2F66221.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D1A
Deuteranopia (green-blind)
#625828
Tritanopia (blue-blind)
#296358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f6622;
/* rgb */ color: rgb(47, 102, 34);
/* oklch */ color: oklch(45.7% 0.116 140.0);
Tailwind
colors: {
  custom: {
    50: '#6d9260',
    500: '#2f6622',
    950: '#000000',
  },
}
SCSS
$custom: #2f6622;
$custom-light: #6d9260;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6622",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 34
  },
  "hsl": {
    "h": 108.529,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.45672,
    "c": 0.1159,
    "h": 140
  },
  "luminance": 0.10223
}

Semantic roles & 50–950 ramp

primary
#2F6622
secondary
#8B4A9A
accent
#4EDABF
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2F6622

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

Preview Lab → · Contrast checker → · Palette generator →

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