#2F702E#2F702E

#2F702E is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.7% C 0.119 H 143.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2F702E
RGBrgb(47, 112, 46)
HSLhsl(119, 42%, 31%)
HSVhsv(119, 59%, 44%)
CMYKcmyk(58%, 0%, 58.9%, 56.1%)
CIE-LABlab(41.83, -35.19, 30.14)
CIE-LCHlch(41.83, 46.33, 139.42°)
OKLaboklab(48.67% -0.0957 0.0716)
OKLCHoklch(48.67% 0.119 143.2)
XYZxyz(7.4592, 12.3893, 4.5825)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F702E #6F2E70
analogous
#50702E #2F702E #2E704E
triadic
#2F702E #2E2F70 #702E2F
tetradic
#2F702E #2E5070 #6F2E70 #704E2E
square
#2F702E #2E5070 #6F2E70 #704E2E
split-complementary
#2F702E #4E2E70 #702E50
monochromatic
#0B190A #1D451C #2F702E #419B40 #5EBC5C

Accessibility & contrast

On white

6.04
#2F702E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2F702E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F702E
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F702E#FFFFFF#000000##FFFFFF
##2F702E1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726628
Deuteranopia (green-blind)
#6A6033
Tritanopia (blue-blind)
#256D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f702e;
/* rgb */ color: rgb(47, 112, 46);
/* oklch */ color: oklch(48.7% 0.119 143.2);
Tailwind
colors: {
  custom: {
    50: '#6e9a69',
    500: '#2f702e',
    950: '#000000',
  },
}
SCSS
$custom: #2f702e;
$custom-light: #6e9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#2f702e",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 46
  },
  "hsl": {
    "h": 119.091,
    "s": 41.772,
    "l": 30.98
  },
  "oklch": {
    "l": 0.48668,
    "c": 0.11949,
    "h": 143.2
  },
  "luminance": 0.1239
}

Semantic roles & 50–950 ramp

primary
#2F702E
secondary
#A058A1
accent
#56D2D0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F702E

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

Preview Lab → · Contrast checker → · Palette generator →

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