#2F6232#2F6232

#2F6232 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.094 H 145.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#2F6232
RGBrgb(47, 98, 50)
HSLhsl(124, 35%, 28%)
HSVhsv(124, 52%, 38%)
CMYKcmyk(52%, 0%, 49%, 61.6%)
CIE-LABlab(37.06, -28.35, 22.12)
CIE-LCHlch(37.06, 35.95, 142.03°)
OKLaboklab(44.77% -0.077 0.054)
OKLCHoklch(44.77% 0.094 145)
XYZxyz(6.1154, 9.5695, 4.5418)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6232 #622F5F
analogous
#45622F #2F6232 #2F624B
triadic
#2F6232 #322F62 #62322F
tetradic
#2F6232 #2F4562 #622F5F #624B2F
square
#2F6232 #2F4562 #622F5F #624B2F
split-complementary
#2F6232 #4B2F62 #622F45
monochromatic
#0A150B #1B391D #2F6232 #438B47 #5BB060

Accessibility & contrast

On white

7.21
#2F6232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2F6232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6232
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6232#FFFFFF#000000##FFFFFF
##2F62321.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A2E
Deuteranopia (green-blind)
#5D5535
Tritanopia (blue-blind)
#276057
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f6232;
/* rgb */ color: rgb(47, 98, 50);
/* oklch */ color: oklch(44.8% 0.094 145.0);
Tailwind
colors: {
  custom: {
    50: '#6c8f6b',
    500: '#2f6232',
    950: '#000000',
  },
}
SCSS
$custom: #2f6232;
$custom-light: #6c8f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6232",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 50
  },
  "hsl": {
    "h": 123.529,
    "s": 35.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.44771,
    "c": 0.09406,
    "h": 145
  },
  "luminance": 0.0957
}

Semantic roles & 50–950 ramp

primary
#2F6232
secondary
#945990
accent
#5DC5CB
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #2F6232

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

Preview Lab → · Contrast checker → · Palette generator →

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