#2F8C1C#2F8C1C

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

Color values

HEX#2F8C1C
RGBrgb(47, 140, 28)
HSLhsl(110, 67%, 33%)
HSVhsv(110, 80%, 55%)
CMYKcmyk(66.4%, 0%, 80%, 45.1%)
CIE-LABlab(51.20, -47.79, 47.84)
CIE-LCHlch(51.20, 67.62, 134.97°)
OKLaboklab(56.36% -0.1308 0.1068)
OKLCHoklch(56.36% 0.169 140.8)
XYZxyz(10.7594, 19.4433, 4.2843)
Luminance0.1944 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8C1C #791C8C
analogous
#678C1C #2F8C1C #1C8C41
triadic
#2F8C1C #1C2F8C #8C1C2F
tetradic
#2F8C1C #1C678C #791C8C #8C411C
square
#2F8C1C #1C678C #791C8C #8C411C
split-complementary
#2F8C1C #411C8C #8C1C67
monochromatic
#0D2608 #1E5912 #2F8C1C #40BF26 #61DA48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8C1C#FFFFFF#000000##000000
##2F8C1C1.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)
#857729
Tritanopia (blue-blind)
#1F8777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8c1c;
/* rgb */ color: rgb(47, 140, 28);
/* oklch */ color: oklch(56.4% 0.169 140.8);
Tailwind
colors: {
  custom: {
    50: '#75ae62',
    500: '#2f8c1c',
    950: '#000000',
  },
}
SCSS
$custom: #2f8c1c;
$custom-light: #75ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8c1c",
  "rgb": {
    "r": 47,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 109.821,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56362,
    "c": 0.16884,
    "h": 140.8
  },
  "luminance": 0.19444
}

Semantic roles & 50–950 ramp

primary
#2F8C1C
secondary
#A848BC
accent
#3EEACD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2F8C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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