#2F6038#2F6038

#2F6038 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.3% C 0.084 H 148.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2F6038
RGBrgb(47, 96, 56)
HSLhsl(131, 34%, 28%)
HSVhsv(131, 51%, 38%)
CMYKcmyk(51%, 0%, 41.7%, 62.4%)
CIE-LABlab(36.47, -26.33, 17.87)
CIE-LCHlch(36.47, 31.82, 145.83°)
OKLaboklab(44.33% -0.0715 0.0444)
OKLCHoklch(44.33% 0.084 148.2)
XYZxyz(6.0686, 9.2552, 5.2073)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6038 #602F57
analogous
#3E602F #2F6038 #2F6050
triadic
#2F6038 #382F60 #60382F
tetradic
#2F6038 #2F3E60 #602F57 #60502F
square
#2F6038 #2F3E60 #602F57 #60502F
split-complementary
#2F6038 #502F60 #602F3E
monochromatic
#0A150C #1B3720 #2F6038 #438950 #5BAF6A

Accessibility & contrast

On white

7.37
#2F6038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2F6038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6038
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6038#FFFFFF#000000##FFFFFF
##2F60381.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615935
Deuteranopia (green-blind)
#5A543A
Tritanopia (blue-blind)
#265E56
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f6038;
/* rgb */ color: rgb(47, 96, 56);
/* oklch */ color: oklch(44.3% 0.084 148.2);
Tailwind
colors: {
  custom: {
    50: '#6b8d6f',
    500: '#2f6038',
    950: '#000000',
  },
}
SCSS
$custom: #2f6038;
$custom-light: #6b8d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6038",
  "rgb": {
    "r": 47,
    "g": 96,
    "b": 56
  },
  "hsl": {
    "h": 131.02,
    "s": 34.266,
    "l": 28.039
  },
  "oklch": {
    "l": 0.44325,
    "c": 0.08418,
    "h": 148.2
  },
  "luminance": 0.09256
}

Semantic roles & 50–950 ramp

primary
#2F6038
secondary
#925987
accent
#5DB6CA
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#070C07
muted
#7A7D7A

Preview Lab

Preview with #2F6038

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

Preview Lab → · Contrast checker → · Palette generator →

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