#2F8F18#2F8F18

#2F8F18 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.174 H 140.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2F8F18
RGBrgb(47, 143, 24)
HSLhsl(108, 71%, 33%)
HSVhsv(108, 83%, 56%)
CMYKcmyk(67.1%, 0%, 83.2%, 43.9%)
CIE-LABlab(52.19, -49.09, 50.01)
CIE-LCHlch(52.19, 70.08, 134.47°)
OKLaboklab(57.17% -0.1345 0.1107)
OKLCHoklch(57.17% 0.174 140.5)
XYZxyz(11.1591, 20.3141, 4.1969)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F18 #78188F
analogous
#6B8F18 #2F8F18 #188F3C
triadic
#2F8F18 #182F8F #8F182F
tetradic
#2F8F18 #186B8F #78188F #8F3C18
square
#2F8F18 #186B8F #78188F #8F3C18
split-complementary
#2F8F18 #3C188F #8F186B
monochromatic
#0D2606 #1E5B0F #2F8F18 #40C321 #60DF42

Accessibility & contrast

On white

4.15
#2F8F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2F8F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8F18
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8F18#FFFFFF#000000##000000
##2F8F181.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#1E8A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8f18;
/* rgb */ color: rgb(47, 143, 24);
/* oklch */ color: oklch(57.2% 0.174 140.5);
Tailwind
colors: {
  custom: {
    50: '#76b161',
    500: '#2f8f18',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f18;
$custom-light: #76b161;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f18",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 108.403,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57174,
    "c": 0.17421,
    "h": 140.5
  },
  "luminance": 0.20315
}

Semantic roles & 50–950 ramp

primary
#2F8F18
secondary
#A843C0
accent
#3AEECB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #2F8F18

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

Preview Lab → · Contrast checker → · Palette generator →

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