#2F6345#2F6345

#2F6345 is a mid, moderate green. Relative luminance 0.100; OKLCH L 45.5% C 0.075 H 156.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2F6345
RGBrgb(47, 99, 69)
HSLhsl(145, 36%, 29%)
HSVhsv(145, 53%, 39%)
CMYKcmyk(52.5%, 0%, 30.3%, 61.2%)
CIE-LABlab(37.77, -25.12, 11.83)
CIE-LCHlch(37.77, 27.77, 154.78°)
OKLaboklab(45.47% -0.0688 0.0301)
OKLCHoklch(45.47% 0.075 156.4)
XYZxyz(6.7078, 9.9572, 7.1975)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6345 #632F4D
analogous
#33632F #2F6345 #2F635F
triadic
#2F6345 #452F63 #63452F
tetradic
#2F6345 #2F3363 #632F4D #635F2F
square
#2F6345 #2F3363 #632F4D #635F2F
split-complementary
#2F6345 #5F2F63 #632F33
monochromatic
#0A150E #1B3928 #2F6345 #438C62 #5BB180

Accessibility & contrast

On white

7.02
#2F6345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2F6345 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6345
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6345#FFFFFF#000000##FFFFFF
##2F63451.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635C43
Deuteranopia (green-blind)
#5B5747
Tritanopia (blue-blind)
#21625B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f6345;
/* rgb */ color: rgb(47, 99, 69);
/* oklch */ color: oklch(45.5% 0.075 156.4);
Tailwind
colors: {
  custom: {
    50: '#6b9078',
    500: '#2f6345',
    950: '#000000',
  },
}
SCSS
$custom: #2f6345;
$custom-light: #6b9078;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6345",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 69
  },
  "hsl": {
    "h": 145.385,
    "s": 35.616,
    "l": 28.627
  },
  "oklch": {
    "l": 0.45468,
    "c": 0.07505,
    "h": 156.4
  },
  "luminance": 0.09958
}

Semantic roles & 50–950 ramp

primary
#2F6345
secondary
#95597B
accent
#5C9CCC
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070C09
muted
#7A7D7B

Preview Lab

Preview with #2F6345

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

Preview Lab → · Contrast checker → · Palette generator →

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