#2F702C#2F702C

#2F702C is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.121 H 142.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2F702C
RGBrgb(47, 112, 44)
HSLhsl(117, 44%, 31%)
HSVhsv(117, 61%, 44%)
CMYKcmyk(58%, 0%, 60.7%, 56.1%)
CIE-LABlab(41.80, -35.46, 31.14)
CIE-LCHlch(41.80, 47.19, 138.71°)
OKLaboklab(48.64% -0.0965 0.0736)
OKLCHoklch(48.64% 0.121 142.7)
XYZxyz(7.4207, 12.3739, 4.3797)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F702C #6D2C70
analogous
#51702C #2F702C #2C704B
triadic
#2F702C #2C2F70 #702C2F
tetradic
#2F702C #2C5170 #6D2C70 #704B2C
square
#2F702C #2C5170 #6D2C70 #704B2C
split-complementary
#2F702C #4B2C70 #702C51
monochromatic
#0A1809 #1D441B #2F702C #419C3D #5DBE59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F702C#FFFFFF#000000##FFFFFF
##2F702C1.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)
#726625
Deuteranopia (green-blind)
#6A6031
Tritanopia (blue-blind)
#256D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f702c;
/* rgb */ color: rgb(47, 112, 44);
/* oklch */ color: oklch(48.6% 0.121 142.7);
Tailwind
colors: {
  custom: {
    50: '#6e9a67',
    500: '#2f702c',
    950: '#000000',
  },
}
SCSS
$custom: #2f702c;
$custom-light: #6e9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f702c",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 117.353,
    "s": 43.59,
    "l": 30.588
  },
  "oklch": {
    "l": 0.48641,
    "c": 0.12135,
    "h": 142.7
  },
  "luminance": 0.12375
}

Semantic roles & 50–950 ramp

primary
#2F702C
secondary
#9E56A2
accent
#54D3CE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F702C

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

Preview Lab → · Contrast checker → · Palette generator →

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