#2F6239#2F6239

#2F6239 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.9% C 0.086 H 148.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2F6239
RGBrgb(47, 98, 57)
HSLhsl(132, 35%, 28%)
HSVhsv(132, 52%, 38%)
CMYKcmyk(52%, 0%, 41.8%, 61.6%)
CIE-LABlab(37.18, -27.10, 18.21)
CIE-LCHlch(37.18, 32.65, 146.10°)
OKLaboklab(44.91% -0.0736 0.0452)
OKLCHoklch(44.91% 0.086 148.4)
XYZxyz(6.2781, 9.6346, 5.3989)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6239 #622F58
analogous
#3E622F #2F6239 #2F6252
triadic
#2F6239 #392F62 #62392F
tetradic
#2F6239 #2F3E62 #622F58 #62522F
square
#2F6239 #2F3E62 #622F58 #62522F
split-complementary
#2F6239 #522F62 #622F3E
monochromatic
#0A150C #1B3921 #2F6239 #438B51 #5BB06C

Accessibility & contrast

On white

7.17
#2F6239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2F6239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6239
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6239#FFFFFF#000000##FFFFFF
##2F62391.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A36
Deuteranopia (green-blind)
#5C563C
Tritanopia (blue-blind)
#266058
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f6239;
/* rgb */ color: rgb(47, 98, 57);
/* oklch */ color: oklch(44.9% 0.086 148.4);
Tailwind
colors: {
  custom: {
    50: '#6b8f70',
    500: '#2f6239',
    950: '#000000',
  },
}
SCSS
$custom: #2f6239;
$custom-light: #6b8f70;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6239",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 57
  },
  "hsl": {
    "h": 131.765,
    "s": 35.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.44909,
    "c": 0.08639,
    "h": 148.4
  },
  "luminance": 0.09635
}

Semantic roles & 50–950 ramp

primary
#2F6239
secondary
#945988
accent
#5DB6CB
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#070C07
muted
#7A7D7A

Preview Lab

Preview with #2F6239

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

Preview Lab → · Contrast checker → · Palette generator →

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