#2F8219#2F8219

#2F8219 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.159 H 140.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2F8219
RGBrgb(47, 130, 25)
HSLhsl(107, 68%, 30%)
HSVhsv(107, 81%, 51%)
CMYKcmyk(63.8%, 0%, 80.8%, 49%)
CIE-LABlab(47.80, -44.36, 45.58)
CIE-LCHlch(47.80, 63.60, 134.22°)
OKLaboklab(53.54% -0.1217 0.1016)
OKLCHoklch(53.54% 0.159 140.2)
XYZxyz(9.3300, 16.6389, 3.6395)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8219 #6C1982
analogous
#638219 #2F8219 #198238
triadic
#2F8219 #192F82 #82192F
tetradic
#2F8219 #196382 #6C1982 #823819
square
#2F8219 #196382 #6C1982 #823819
split-complementary
#2F8219 #381982 #821963
monochromatic
#0A1B05 #1C4F0F #2F8219 #42B523 #5DD93C

Accessibility & contrast

On white

4.85
#2F8219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2F8219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8219
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8219#FFFFFF#000000##FFFFFF
##2F82191.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#237E6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f8219;
/* rgb */ color: rgb(47, 130, 25);
/* oklch */ color: oklch(53.5% 0.159 140.2);
Tailwind
colors: {
  custom: {
    50: '#73a75f',
    500: '#2f8219',
    950: '#000000',
  },
}
SCSS
$custom: #2f8219;
$custom-light: #73a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8219",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 25
  },
  "hsl": {
    "h": 107.429,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53541,
    "c": 0.15854,
    "h": 140.2
  },
  "luminance": 0.1664
}

Semantic roles & 50–950 ramp

primary
#2F8219
secondary
#9D41B6
accent
#3DEBC6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F8219

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

Preview Lab → · Contrast checker → · Palette generator →

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