#2F7824#2F7824

#2F7824 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.139 H 141.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2F7824
RGBrgb(47, 120, 36)
HSLhsl(112, 54%, 31%)
HSVhsv(112, 70%, 47%)
CMYKcmyk(60.8%, 0%, 70%, 52.9%)
CIE-LABlab(44.47, -39.64, 37.93)
CIE-LCHlch(44.47, 54.87, 136.26°)
OKLaboklab(50.81% -0.1083 0.0872)
OKLCHoklch(50.81% 0.139 141.2)
XYZxyz(8.2068, 14.1639, 3.9702)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7824 #6D2478
analogous
#597824 #2F7824 #247843
triadic
#2F7824 #242F78 #78242F
tetradic
#2F7824 #245978 #6D2478 #784324
square
#2F7824 #245978 #6D2478 #784324
split-complementary
#2F7824 #432478 #782459
monochromatic
#0A1A08 #1D4916 #2F7824 #41A732 #5DCA4D

Accessibility & contrast

On white

5.48
#2F7824 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#2F7824 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7824
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7824#FFFFFF#000000##FFFFFF
##2F78241.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D18
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#257467
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f7824;
/* rgb */ color: rgb(47, 120, 36);
/* oklch */ color: oklch(50.8% 0.139 141.2);
Tailwind
colors: {
  custom: {
    50: '#70a063',
    500: '#2f7824',
    950: '#000000',
  },
}
SCSS
$custom: #2f7824;
$custom-light: #70a063;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7824",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 36
  },
  "hsl": {
    "h": 112.143,
    "s": 53.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50809,
    "c": 0.13903,
    "h": 141.2
  },
  "luminance": 0.14165
}

Semantic roles & 50–950 ramp

primary
#2F7824
secondary
#9E4DAB
accent
#4BDDCA
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2F7824

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

Preview Lab → · Contrast checker → · Palette generator →

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