#2F6F2C#2F6F2C

#2F6F2C is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.4% C 0.120 H 142.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2F6F2C
RGBrgb(47, 111, 44)
HSLhsl(117, 43%, 30%)
HSVhsv(117, 60%, 44%)
CMYKcmyk(57.7%, 0%, 60.4%, 56.5%)
CIE-LABlab(41.46, -35.03, 30.73)
CIE-LCHlch(41.46, 46.60, 138.74°)
OKLaboklab(48.36% -0.0954 0.0727)
OKLCHoklch(48.36% 0.12 142.7)
XYZxyz(7.3110, 12.1545, 4.3432)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6F2C #6C2C6F
analogous
#516F2C #2F6F2C #2C6F4A
triadic
#2F6F2C #2C2F6F #6F2C2F
tetradic
#2F6F2C #2C516F #6C2C6F #6F4A2C
square
#2F6F2C #2C516F #6C2C6F #6F4A2C
split-complementary
#2F6F2C #4A2C6F #6F2C51
monochromatic
#0A1709 #1C431B #2F6F2C #429B3D #5DBD58

Accessibility & contrast

On white

6.12
#2F6F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2F6F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6F2C
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6F2C#FFFFFF#000000##FFFFFF
##2F6F2C1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716525
Deuteranopia (green-blind)
#696031
Tritanopia (blue-blind)
#266C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f6f2c;
/* rgb */ color: rgb(47, 111, 44);
/* oklch */ color: oklch(48.4% 0.120 142.7);
Tailwind
colors: {
  custom: {
    50: '#6e9967',
    500: '#2f6f2c',
    950: '#000000',
  },
}
SCSS
$custom: #2f6f2c;
$custom-light: #6e9967;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6f2c",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 44
  },
  "hsl": {
    "h": 117.313,
    "s": 43.226,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48358,
    "c": 0.11991,
    "h": 142.7
  },
  "luminance": 0.12155
}

Semantic roles & 50–950 ramp

primary
#2F6F2C
secondary
#9D56A1
accent
#55D3CD
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F6F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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