#2F7519#2F7519

#2F7519 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.143 H 139.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2F7519
RGBrgb(47, 117, 25)
HSLhsl(106, 65%, 28%)
HSVhsv(106, 79%, 46%)
CMYKcmyk(59.8%, 0%, 78.6%, 54.1%)
CIE-LABlab(43.35, -39.41, 41.27)
CIE-LCHlch(43.35, 57.06, 133.68°)
OKLaboklab(49.86% -0.1084 0.0926)
OKLCHoklch(49.86% 0.143 139.5)
XYZxyz(7.7087, 13.3964, 3.0991)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7519 #5F1975
analogous
#5D7519 #2F7519 #197531
triadic
#2F7519 #192F75 #75192F
tetradic
#2F7519 #195D75 #5F1975 #753119
square
#2F7519 #195D75 #5F1975 #753119
split-complementary
#2F7519 #311975 #75195D
monochromatic
#0A1905 #1B430E #2F7519 #43A724 #5BD435

Accessibility & contrast

On white

5.71
#2F7519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#2F7519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7519
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7519#FFFFFF#000000##FFFFFF
##2F75191.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A05
Deuteranopia (green-blind)
#706423
Tritanopia (blue-blind)
#277163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f7519;
/* rgb */ color: rgb(47, 117, 25);
/* oklch */ color: oklch(49.9% 0.143 139.5);
Tailwind
colors: {
  custom: {
    50: '#709d5d',
    500: '#2f7519',
    950: '#000000',
  },
}
SCSS
$custom: #2f7519;
$custom-light: #709d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7519",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 105.652,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49864,
    "c": 0.14256,
    "h": 139.5
  },
  "luminance": 0.13397
}

Semantic roles & 50–950 ramp

primary
#2F7519
secondary
#9140AA
accent
#40E8C0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7519

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

Preview Lab → · Contrast checker → · Palette generator →

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