#2F7524#2F7524

#2F7524 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.135 H 141.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#2F7524
RGBrgb(47, 117, 36)
HSLhsl(112, 53%, 30%)
HSVhsv(112, 69%, 46%)
CMYKcmyk(59.8%, 0%, 69.2%, 54.1%)
CIE-LABlab(43.44, -38.44, 36.83)
CIE-LCHlch(43.44, 53.24, 136.23°)
OKLaboklab(49.96% -0.1051 0.0848)
OKLCHoklch(49.96% 0.135 141.1)
XYZxyz(7.8516, 13.4536, 3.8518)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7524 #6A2475
analogous
#577524 #2F7524 #247542
triadic
#2F7524 #242F75 #75242F
tetradic
#2F7524 #245775 #6A2475 #754224
square
#2F7524 #245775 #6A2475 #754224
split-complementary
#2F7524 #422475 #752457
monochromatic
#091707 #1C4616 #2F7524 #42A432 #5CC84C

Accessibility & contrast

On white

5.69
#2F7524 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2F7524 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7524
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7524#FFFFFF#000000##FFFFFF
##2F75241.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A19
Deuteranopia (green-blind)
#6F642B
Tritanopia (blue-blind)
#257164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7524;
/* rgb */ color: rgb(47, 117, 36);
/* oklch */ color: oklch(50.0% 0.135 141.1);
Tailwind
colors: {
  custom: {
    50: '#709d63',
    500: '#2f7524',
    950: '#000000',
  },
}
SCSS
$custom: #2f7524;
$custom-light: #709d63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7524",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 36
  },
  "hsl": {
    "h": 111.852,
    "s": 52.941,
    "l": 30
  },
  "oklch": {
    "l": 0.49961,
    "c": 0.13505,
    "h": 141.1
  },
  "luminance": 0.13454
}

Semantic roles & 50–950 ramp

primary
#2F7524
secondary
#9B4DA8
accent
#4BDCC9
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2F7524

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

Preview Lab → · Contrast checker → · Palette generator →

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