#2F6633#2F6633

#2F6633 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.9% C 0.099 H 145.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2F6633
RGBrgb(47, 102, 51)
HSLhsl(124, 37%, 29%)
HSVhsv(124, 54%, 40%)
CMYKcmyk(53.9%, 0%, 50%, 60%)
CIE-LABlab(38.46, -30.04, 23.31)
CIE-LCHlch(38.46, 38.02, 142.18°)
OKLaboklab(45.92% -0.0815 0.0568)
OKLCHoklch(45.92% 0.099 145.2)
XYZxyz(6.5208, 10.3456, 4.7846)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6633 #662F62
analogous
#47662F #2F6633 #2F664F
triadic
#2F6633 #332F66 #66332F
tetradic
#2F6633 #2F4766 #662F62 #664F2F
square
#2F6633 #2F4766 #662F62 #664F2F
split-complementary
#2F6633 #4F2F66 #662F47
monochromatic
#0A150A #1C3C1E #2F6633 #429048 #5CB462

Accessibility & contrast

On white

6.84
#2F6633 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2F6633 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6633
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6633#FFFFFF#000000##FFFFFF
##2F66331.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685E2F
Deuteranopia (green-blind)
#605936
Tritanopia (blue-blind)
#26645A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f6633;
/* rgb */ color: rgb(47, 102, 51);
/* oklch */ color: oklch(45.9% 0.099 145.2);
Tailwind
colors: {
  custom: {
    50: '#6c926b',
    500: '#2f6633',
    950: '#000000',
  },
}
SCSS
$custom: #2f6633;
$custom-light: #6c926b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6633",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 51
  },
  "hsl": {
    "h": 124.364,
    "s": 36.913,
    "l": 29.216
  },
  "oklch": {
    "l": 0.45921,
    "c": 0.09935,
    "h": 145.2
  },
  "luminance": 0.10346
}

Semantic roles & 50–950 ramp

primary
#2F6633
secondary
#985993
accent
#5BC5CD
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D07
muted
#7A7E7A

Preview Lab

Preview with #2F6633

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

Preview Lab → · Contrast checker → · Palette generator →

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