#2F6B2A#2F6B2A

#2F6B2A is a mid, moderate green. Relative luminance 0.113; OKLCH L 47.2% C 0.116 H 142.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#2F6B2A
RGBrgb(47, 107, 42)
HSLhsl(115, 44%, 29%)
HSVhsv(115, 61%, 42%)
CMYKcmyk(56.1%, 0%, 60.7%, 58%)
CIE-LABlab(40.06, -33.58, 30.12)
CIE-LCHlch(40.06, 45.11, 138.11°)
OKLaboklab(47.2% -0.0915 0.0712)
OKLCHoklch(47.2% 0.116 142.1)
XYZxyz(6.8476, 11.2863, 4.0077)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6B2A #662A6B
analogous
#506B2A #2F6B2A #2A6B46
triadic
#2F6B2A #2A2F6B #6B2A2F
tetradic
#2F6B2A #2A506B #662A6B #6B462A
square
#2F6B2A #2A506B #662A6B #6B462A
split-complementary
#2F6B2A #462A6B #6B2A50
monochromatic
#0A1609 #1C3F19 #2F6B2A #42973B #5CBC54

Accessibility & contrast

On white

6.45
#2F6B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2F6B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6B2A
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6B2A#FFFFFF#000000##FFFFFF
##2F6B2A1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6223
Deuteranopia (green-blind)
#665C2F
Tritanopia (blue-blind)
#27685D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f6b2a;
/* rgb */ color: rgb(47, 107, 42);
/* oklch */ color: oklch(47.2% 0.116 142.1);
Tailwind
colors: {
  custom: {
    50: '#6e9666',
    500: '#2f6b2a',
    950: '#000000',
  },
}
SCSS
$custom: #2f6b2a;
$custom-light: #6e9666;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6b2a",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 42
  },
  "hsl": {
    "h": 115.385,
    "s": 43.624,
    "l": 29.216
  },
  "oklch": {
    "l": 0.47197,
    "c": 0.11596,
    "h": 142.1
  },
  "luminance": 0.11287
}

Semantic roles & 50–950 ramp

primary
#2F6B2A
secondary
#98549D
accent
#54D3CA
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #2F6B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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