#2F8D19#2F8D19

#2F8D19 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.171 H 140.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2F8D19
RGBrgb(47, 141, 25)
HSLhsl(109, 70%, 33%)
HSVhsv(109, 82%, 55%)
CMYKcmyk(66.7%, 0%, 82.3%, 44.7%)
CIE-LABlab(51.52, -48.33, 49.09)
CIE-LCHlch(51.52, 68.89, 134.55°)
OKLaboklab(56.62% -0.1324 0.1089)
OKLCHoklch(56.62% 0.171 140.6)
XYZxyz(10.8721, 19.7232, 4.1535)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D19 #77198D
analogous
#698D19 #2F8D19 #198D3D
triadic
#2F8D19 #192F8D #8D192F
tetradic
#2F8D19 #19698D #77198D #8D3D19
square
#2F8D19 #19698D #77198D #8D3D19
split-complementary
#2F8D19 #3D198D #8D1969
monochromatic
#0C2507 #1E5910 #2F8D19 #40C122 #60DE43

Accessibility & contrast

On white

4.25
#2F8D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2F8D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D19
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D19#FFFFFF#000000##000000
##2F8D191.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#1F8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8d19;
/* rgb */ color: rgb(47, 141, 25);
/* oklch */ color: oklch(56.6% 0.171 140.6);
Tailwind
colors: {
  custom: {
    50: '#75af61',
    500: '#2f8d19',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d19;
$custom-light: #75af61;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d19",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 108.621,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56623,
    "c": 0.17147,
    "h": 140.6
  },
  "luminance": 0.19724
}

Semantic roles & 50–950 ramp

primary
#2F8D19
secondary
#A743BF
accent
#3BEDCB
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2F8D19

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

Preview Lab → · Contrast checker → · Palette generator →

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