#2F8C1E#2F8C1E

#2F8C1E is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.168 H 141.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2F8C1E
RGBrgb(47, 140, 30)
HSLhsl(111, 65%, 33%)
HSVhsv(111, 79%, 55%)
CMYKcmyk(66.4%, 0%, 78.6%, 45.1%)
CIE-LABlab(51.21, -47.65, 47.18)
CIE-LCHlch(51.21, 67.06, 135.29°)
OKLaboklab(56.38% -0.1303 0.1057)
OKLCHoklch(56.38% 0.168 141)
XYZxyz(10.7842, 19.4532, 4.4146)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8C1E #7B1E8C
analogous
#668C1E #2F8C1E #1E8C44
triadic
#2F8C1E #1E2F8C #8C1E2F
tetradic
#2F8C1E #1E668C #7B1E8C #8C441E
square
#2F8C1E #1E668C #7B1E8C #8C441E
split-complementary
#2F8C1E #441E8C #8C1E66
monochromatic
#0D2708 #1E5A13 #2F8C1E #40BE29 #62D94C

Accessibility & contrast

On white

4.29
#2F8C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#2F8C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8C1E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8C1E#FFFFFF#000000##000000
##2F8C1E1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F03
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#1E8777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8c1e;
/* rgb */ color: rgb(47, 140, 30);
/* oklch */ color: oklch(56.4% 0.168 141.0);
Tailwind
colors: {
  custom: {
    50: '#75ae63',
    500: '#2f8c1e',
    950: '#000000',
  },
}
SCSS
$custom: #2f8c1e;
$custom-light: #75ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8c1e",
  "rgb": {
    "r": 47,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 110.727,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56375,
    "c": 0.16779,
    "h": 141
  },
  "luminance": 0.19454
}

Semantic roles & 50–950 ramp

primary
#2F8C1E
secondary
#AA4BBB
accent
#40E8CE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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