#2F6725#2F6725

#2F6725 is a mid, moderate green. Relative luminance 0.104; OKLCH L 46.0% C 0.115 H 140.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#2F6725
RGBrgb(47, 103, 37)
HSLhsl(111, 47%, 27%)
HSVhsv(111, 64%, 40%)
CMYKcmyk(54.4%, 0%, 64.1%, 59.6%)
CIE-LABlab(38.62, -32.47, 31.00)
CIE-LCHlch(38.62, 44.89, 136.32°)
OKLaboklab(45.99% -0.0888 0.0726)
OKLCHoklch(45.99% 0.115 140.7)
XYZxyz(6.3562, 10.4379, 3.4297)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6725 #5D2567
analogous
#506725 #2F6725 #25673C
triadic
#2F6725 #252F67 #67252F
tetradic
#2F6725 #255067 #5D2567 #673C25
square
#2F6725 #255067 #5D2567 #673C25
split-complementary
#2F6725 #3C2567 #672550
monochromatic
#0A1708 #1A3A15 #2F6725 #449435 #5BBE49

Accessibility & contrast

On white

6.80
#2F6725 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2F6725 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6725
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6725#FFFFFF#000000##FFFFFF
##2F67251.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1E
Deuteranopia (green-blind)
#62592A
Tritanopia (blue-blind)
#296459
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f6725;
/* rgb */ color: rgb(47, 103, 37);
/* oklch */ color: oklch(46.0% 0.115 140.7);
Tailwind
colors: {
  custom: {
    50: '#6d9362',
    500: '#2f6725',
    950: '#000000',
  },
}
SCSS
$custom: #2f6725;
$custom-light: #6d9362;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6725",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 37
  },
  "hsl": {
    "h": 110.909,
    "s": 47.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.45994,
    "c": 0.1147,
    "h": 140.7
  },
  "luminance": 0.10438
}

Semantic roles & 50–950 ramp

primary
#2F6725
secondary
#8F4E9A
accent
#51D7C2
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2F6725

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

Preview Lab → · Contrast checker → · Palette generator →

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