#2F8519#2F8519

#2F8519 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.162 H 140.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2F8519
RGBrgb(47, 133, 25)
HSLhsl(108, 68%, 31%)
HSVhsv(108, 81%, 52%)
CMYKcmyk(64.7%, 0%, 81.2%, 47.8%)
CIE-LABlab(48.82, -45.46, 46.55)
CIE-LCHlch(48.82, 65.06, 134.32°)
OKLaboklab(54.38% -0.1247 0.1036)
OKLCHoklch(54.38% 0.162 140.3)
XYZxyz(9.7348, 17.4486, 3.7744)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8519 #6F1985
analogous
#658519 #2F8519 #198539
triadic
#2F8519 #192F85 #85192F
tetradic
#2F8519 #196585 #6F1985 #853919
square
#2F8519 #196585 #6F1985 #853919
split-complementary
#2F8519 #391985 #851965
monochromatic
#0B1E06 #1D510F #2F8519 #41B923 #5EDB3E

Accessibility & contrast

On white

4.68
#2F8519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2F8519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8519
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8519#FFFFFF#000000##FFFFFF
##2F85191.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#228071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8519;
/* rgb */ color: rgb(47, 133, 25);
/* oklch */ color: oklch(54.4% 0.162 140.3);
Tailwind
colors: {
  custom: {
    50: '#74a95f',
    500: '#2f8519',
    950: '#000000',
  },
}
SCSS
$custom: #2f8519;
$custom-light: #74a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8519",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 107.778,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54384,
    "c": 0.16213,
    "h": 140.3
  },
  "luminance": 0.1745
}

Semantic roles & 50–950 ramp

primary
#2F8519
secondary
#A041B9
accent
#3DEBC8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2F8519

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

Preview Lab → · Contrast checker → · Palette generator →

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