#2F8918#2F8918

#2F8918 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.167 H 140.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2F8918
RGBrgb(47, 137, 24)
HSLhsl(108, 70%, 32%)
HSVhsv(108, 82%, 54%)
CMYKcmyk(65.7%, 0%, 82.5%, 46.3%)
CIE-LABlab(50.17, -46.97, 48.13)
CIE-LCHlch(50.17, 67.25, 134.30°)
OKLaboklab(55.5% -0.1288 0.1068)
OKLCHoklch(55.5% 0.167 140.3)
XYZxyz(10.2823, 18.5606, 3.9047)
Luminance0.1856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8918 #721889
analogous
#688918 #2F8918 #18893A
triadic
#2F8918 #182F89 #89182F
tetradic
#2F8918 #186889 #721889 #893A18
square
#2F8918 #186889 #721889 #893A18
split-complementary
#2F8918 #3A1889 #891868
monochromatic
#0B2106 #1D550F #2F8918 #41BD21 #5FDD3E

Accessibility & contrast

On white

4.46
#2F8918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2F8918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8918
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8918#FFFFFF#000000##000000
##2F89181.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#218474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f8918;
/* rgb */ color: rgb(47, 137, 24);
/* oklch */ color: oklch(55.5% 0.167 140.3);
Tailwind
colors: {
  custom: {
    50: '#75ac60',
    500: '#2f8918',
    950: '#000000',
  },
}
SCSS
$custom: #2f8918;
$custom-light: #75ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8918",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 107.788,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55499,
    "c": 0.16731,
    "h": 140.3
  },
  "luminance": 0.18562
}

Semantic roles & 50–950 ramp

primary
#2F8918
secondary
#A340BD
accent
#3BEDC9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2F8918

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

Preview Lab → · Contrast checker → · Palette generator →

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