#2F7428#2F7428

#2F7428 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.7% C 0.130 H 141.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#2F7428
RGBrgb(47, 116, 40)
HSLhsl(114, 49%, 31%)
HSVhsv(114, 66%, 45%)
CMYKcmyk(59.5%, 0%, 65.5%, 54.5%)
CIE-LABlab(43.13, -37.60, 34.63)
CIE-LCHlch(43.13, 51.12, 137.36°)
OKLaboklab(49.72% -0.1026 0.0807)
OKLCHoklch(49.72% 0.13 141.8)
XYZxyz(7.8003, 13.2476, 4.1531)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7428 #6D2874
analogous
#557428 #2F7428 #287447
triadic
#2F7428 #282F74 #74282F
tetradic
#2F7428 #285574 #6D2874 #744728
square
#2F7428 #285574 #6D2874 #744728
split-complementary
#2F7428 #472874 #742855
monochromatic
#0A1909 #1D4618 #2F7428 #41A238 #5DC453

Accessibility & contrast

On white

5.75
#2F7428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#2F7428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7428
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7428#FFFFFF#000000##FFFFFF
##2F74281.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77691F
Deuteranopia (green-blind)
#6E642E
Tritanopia (blue-blind)
#257064
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f7428;
/* rgb */ color: rgb(47, 116, 40);
/* oklch */ color: oklch(49.7% 0.130 141.8);
Tailwind
colors: {
  custom: {
    50: '#6f9d65',
    500: '#2f7428',
    950: '#000000',
  },
}
SCSS
$custom: #2f7428;
$custom-light: #6f9d65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7428",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 40
  },
  "hsl": {
    "h": 114.474,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49722,
    "c": 0.13048,
    "h": 141.8
  },
  "luminance": 0.13248
}

Semantic roles & 50–950 ramp

primary
#2F7428
secondary
#9E52A6
accent
#50D8CC
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F7428

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

Preview Lab → · Contrast checker → · Palette generator →

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