#2F6B22#2F6B22

#2F6B22 is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.1% C 0.123 H 140.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#2F6B22
RGBrgb(47, 107, 34)
HSLhsl(109, 52%, 28%)
HSVhsv(109, 68%, 42%)
CMYKcmyk(56.1%, 0%, 68.2%, 58%)
CIE-LABlab(39.97, -34.53, 33.98)
CIE-LCHlch(39.97, 48.44, 135.46°)
OKLaboklab(47.1% -0.0946 0.0786)
OKLCHoklch(47.1% 0.123 140.3)
XYZxyz(6.7184, 11.2347, 3.3275)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6B22 #5E226B
analogous
#536B22 #2F6B22 #226B39
triadic
#2F6B22 #222F6B #6B222F
tetradic
#2F6B22 #22536B #5E226B #6B3922
square
#2F6B22 #22536B #5E226B #6B3922
split-complementary
#2F6B22 #39226B #6B2253
monochromatic
#0A1707 #1B3D13 #2F6B22 #439931 #5BC444

Accessibility & contrast

On white

6.47
#2F6B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2F6B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6B22
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6B22#FFFFFF#000000##FFFFFF
##2F6B221.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6119
Deuteranopia (green-blind)
#665C28
Tritanopia (blue-blind)
#28675C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f6b22;
/* rgb */ color: rgb(47, 107, 34);
/* oklch */ color: oklch(47.1% 0.123 140.3);
Tailwind
colors: {
  custom: {
    50: '#6e9661',
    500: '#2f6b22',
    950: '#000000',
  },
}
SCSS
$custom: #2f6b22;
$custom-light: #6e9661;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6b22",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 34
  },
  "hsl": {
    "h": 109.315,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.47099,
    "c": 0.12297,
    "h": 140.3
  },
  "luminance": 0.11235
}

Semantic roles & 50–950 ramp

primary
#2F6B22
secondary
#904A9F
accent
#4DDBC2
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #2F6B22

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

Preview Lab → · Contrast checker → · Palette generator →

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