#2F8C1B#2F8C1B

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

Color values

HEX#2F8C1B
RGBrgb(47, 140, 27)
HSLhsl(109, 68%, 33%)
HSVhsv(109, 81%, 55%)
CMYKcmyk(66.4%, 0%, 80.7%, 45.1%)
CIE-LABlab(51.20, -47.85, 48.16)
CIE-LCHlch(51.20, 67.89, 134.82°)
OKLaboklab(56.36% -0.131 0.1073)
OKLCHoklch(56.36% 0.169 140.7)
XYZxyz(10.7477, 19.4386, 4.2223)
Luminance0.1944 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8C1B #781B8C
analogous
#678C1B #2F8C1B #1B8C40
triadic
#2F8C1B #1B2F8C #8C1B2F
tetradic
#2F8C1B #1B678C #781B8C #8C401B
square
#2F8C1B #1B678C #781B8C #8C401B
split-complementary
#2F8C1B #401B8C #8C1B67
monochromatic
#0D2507 #1E5911 #2F8C1B #40BF25 #60DB46

Accessibility & contrast

On white

4.30
#2F8C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8C1B#FFFFFF#000000##000000
##2F8C1B1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#1F8777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8c1b;
/* rgb */ color: rgb(47, 140, 27);
/* oklch */ color: oklch(56.4% 0.169 140.7);
Tailwind
colors: {
  custom: {
    50: '#75ae61',
    500: '#2f8c1b',
    950: '#000000',
  },
}
SCSS
$custom: #2f8c1b;
$custom-light: #75ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8c1b",
  "rgb": {
    "r": 47,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 109.381,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56355,
    "c": 0.16935,
    "h": 140.7
  },
  "luminance": 0.1944
}

Semantic roles & 50–950 ramp

primary
#2F8C1B
secondary
#A846BD
accent
#3DEBCC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2F8C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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