#2F6721#2F6721

#2F6721 is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.9% C 0.118 H 139.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2F6721
RGBrgb(47, 103, 33)
HSLhsl(108, 51%, 27%)
HSVhsv(108, 68%, 40%)
CMYKcmyk(54.4%, 0%, 68%, 59.6%)
CIE-LABlab(38.58, -32.92, 32.91)
CIE-LCHlch(38.58, 46.56, 135.01°)
OKLaboklab(45.95% -0.0903 0.0762)
OKLCHoklch(45.95% 0.118 139.9)
XYZxyz(6.2968, 10.4142, 3.1169)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6721 #592167
analogous
#526721 #2F6721 #216736
triadic
#2F6721 #212F67 #67212F
tetradic
#2F6721 #215267 #592167 #673621
square
#2F6721 #215267 #592167 #673621
split-complementary
#2F6721 #362167 #672152
monochromatic
#0B1707 #1A3912 #2F6721 #449530 #5AC240

Accessibility & contrast

On white

6.81
#2F6721 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2F6721 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6721
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6721#FFFFFF#000000##FFFFFF
##2F67211.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E18
Deuteranopia (green-blind)
#635927
Tritanopia (blue-blind)
#296458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f6721;
/* rgb */ color: rgb(47, 103, 33);
/* oklch */ color: oklch(45.9% 0.118 139.9);
Tailwind
colors: {
  custom: {
    50: '#6d9360',
    500: '#2f6721',
    950: '#000000',
  },
}
SCSS
$custom: #2f6721;
$custom-light: #6d9360;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6721",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 33
  },
  "hsl": {
    "h": 108,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.45946,
    "c": 0.11817,
    "h": 139.9
  },
  "luminance": 0.10415
}

Semantic roles & 50–950 ramp

primary
#2F6721
secondary
#8B499B
accent
#4DDBBF
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2F6721

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

Preview Lab → · Contrast checker → · Palette generator →

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