#2F8928#2F8928

#2F8928 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.158 H 142.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2F8928
RGBrgb(47, 137, 40)
HSLhsl(116, 55%, 35%)
HSVhsv(116, 71%, 54%)
CMYKcmyk(65.7%, 0%, 70.8%, 46.3%)
CIE-LABlab(50.27, -45.74, 42.39)
CIE-LCHlch(50.27, 62.36, 137.18°)
OKLaboklab(55.62% -0.1246 0.097)
OKLCHoklch(55.62% 0.158 142.1)
XYZxyz(10.5004, 18.6478, 5.0531)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8928 #822889
analogous
#608928 #2F8928 #288952
triadic
#2F8928 #282F89 #89282F
tetradic
#2F8928 #286089 #822889 #895228
square
#2F8928 #286089 #822889 #895228
split-complementary
#2F8928 #522889 #892860
monochromatic
#0E2A0C #1F5A1A #2F8928 #3FB836 #64CF5C

Accessibility & contrast

On white

4.44
#2F8928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#2F8928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8928
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8928#FFFFFF#000000##000000
##2F89281.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1A
Deuteranopia (green-blind)
#817531
Tritanopia (blue-blind)
#1E8576
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8928;
/* rgb */ color: rgb(47, 137, 40);
/* oklch */ color: oklch(55.6% 0.158 142.1);
Tailwind
colors: {
  custom: {
    50: '#74ac67',
    500: '#2f8928',
    950: '#000000',
  },
}
SCSS
$custom: #2f8928;
$custom-light: #74ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8928",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 40
  },
  "hsl": {
    "h": 115.67,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55618,
    "c": 0.15794,
    "h": 142.1
  },
  "luminance": 0.18649
}

Semantic roles & 50–950 ramp

primary
#2F8928
secondary
#AE58B5
accent
#4ADED3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8928

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

Preview Lab → · Contrast checker → · Palette generator →

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