#2F6529#2F6529

#2F6529 is a mid, moderate green. Relative luminance 0.101; OKLCH L 45.5% C 0.108 H 141.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2F6529
RGBrgb(47, 101, 41)
HSLhsl(114, 42%, 28%)
HSVhsv(114, 59%, 40%)
CMYKcmyk(53.5%, 0%, 59.4%, 60.4%)
CIE-LABlab(37.97, -31.08, 28.19)
CIE-LCHlch(37.97, 41.96, 137.78°)
OKLaboklab(45.48% -0.0848 0.0669)
OKLCHoklch(45.48% 0.108 141.7)
XYZxyz(6.2259, 10.0713, 3.7133)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6529 #5F2965
analogous
#4D6529 #2F6529 #296541
triadic
#2F6529 #292F65 #65292F
tetradic
#2F6529 #294D65 #5F2965 #654129
square
#2F6529 #294D65 #5F2965 #654129
split-complementary
#2F6529 #412965 #65294D
monochromatic
#0A1609 #1B3917 #2F6529 #43913B #5BB850

Accessibility & contrast

On white

6.97
#2F6529 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2F6529 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6529
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6529#FFFFFF#000000##FFFFFF
##2F65291.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C23
Deuteranopia (green-blind)
#60582D
Tritanopia (blue-blind)
#296258
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f6529;
/* rgb */ color: rgb(47, 101, 41);
/* oklch */ color: oklch(45.5% 0.108 141.7);
Tailwind
colors: {
  custom: {
    50: '#6d9165',
    500: '#2f6529',
    950: '#000000',
  },
}
SCSS
$custom: #2f6529;
$custom-light: #6d9165;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6529",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 41
  },
  "hsl": {
    "h": 114,
    "s": 42.254,
    "l": 27.843
  },
  "oklch": {
    "l": 0.45477,
    "c": 0.10801,
    "h": 141.7
  },
  "luminance": 0.10072
}

Semantic roles & 50–950 ramp

primary
#2F6529
secondary
#915297
accent
#56D2C6
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #2F6529

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

Preview Lab → · Contrast checker → · Palette generator →

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