#2F6231#2F6231

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

Color values

HEX#2F6231
RGBrgb(47, 98, 49)
HSLhsl(122, 35%, 28%)
HSVhsv(122, 52%, 38%)
CMYKcmyk(52%, 0%, 50%, 61.6%)
CIE-LABlab(37.04, -28.51, 22.67)
CIE-LCHlch(37.04, 36.42, 141.51°)
OKLaboklab(44.75% -0.0775 0.0552)
OKLCHoklch(44.75% 0.095 144.5)
XYZxyz(6.0940, 9.5610, 4.4295)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6231 #622F60
analogous
#46622F #2F6231 #2F624A
triadic
#2F6231 #312F62 #62312F
tetradic
#2F6231 #2F4662 #622F60 #624A2F
square
#2F6231 #2F4662 #622F60 #624A2F
split-complementary
#2F6231 #4A2F62 #622F46
monochromatic
#0A150A #1B391C #2F6231 #438B46 #5BB05E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6231#FFFFFF#000000##FFFFFF
##2F62311.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)
#645A2D
Deuteranopia (green-blind)
#5D5534
Tritanopia (blue-blind)
#286056
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f6231;
/* rgb */ color: rgb(47, 98, 49);
/* oklch */ color: oklch(44.8% 0.095 144.5);
Tailwind
colors: {
  custom: {
    50: '#6c8f6a',
    500: '#2f6231',
    950: '#000000',
  },
}
SCSS
$custom: #2f6231;
$custom-light: #6c8f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6231",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 49
  },
  "hsl": {
    "h": 122.353,
    "s": 35.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.44753,
    "c": 0.09513,
    "h": 144.5
  },
  "luminance": 0.09561
}

Semantic roles & 50–950 ramp

primary
#2F6231
secondary
#945991
accent
#5DC7CB
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #2F6231

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

Preview Lab → · Contrast checker → · Palette generator →

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