#2F6C22#2F6C22

#2F6C22 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.4% C 0.124 H 140.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#2F6C22
RGBrgb(47, 108, 34)
HSLhsl(109, 52%, 28%)
HSVhsv(109, 69%, 42%)
CMYKcmyk(56.5%, 0%, 68.5%, 57.6%)
CIE-LABlab(40.32, -34.95, 34.35)
CIE-LCHlch(40.32, 49.01, 135.49°)
OKLaboklab(47.38% -0.0957 0.0794)
OKLCHoklch(47.38% 0.124 140.3)
XYZxyz(6.8233, 11.4444, 3.3625)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6C22 #5F226C
analogous
#546C22 #2F6C22 #226C3A
triadic
#2F6C22 #222F6C #6C222F
tetradic
#2F6C22 #22546C #5F226C #6C3A22
square
#2F6C22 #22546C #5F226C #6C3A22
split-complementary
#2F6C22 #3A226C #6C2254
monochromatic
#0A1707 #1B3D13 #2F6C22 #439B31 #5BC444

Accessibility & contrast

On white

6.38
#2F6C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2F6C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6C22
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6C22#FFFFFF#000000##FFFFFF
##2F6C221.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6219
Deuteranopia (green-blind)
#675D28
Tritanopia (blue-blind)
#28685D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2f6c22;
/* rgb */ color: rgb(47, 108, 34);
/* oklch */ color: oklch(47.4% 0.124 140.3);
Tailwind
colors: {
  custom: {
    50: '#6e9761',
    500: '#2f6c22',
    950: '#000000',
  },
}
SCSS
$custom: #2f6c22;
$custom-light: #6e9761;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6c22",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 34
  },
  "hsl": {
    "h": 109.459,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47384,
    "c": 0.12436,
    "h": 140.3
  },
  "luminance": 0.11445
}

Semantic roles & 50–950 ramp

primary
#2F6C22
secondary
#914AA0
accent
#4CDCC2
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #2F6C22

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

Preview Lab → · Contrast checker → · Palette generator →

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