#2F7419#2F7419

#2F7419 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.141 H 139.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2F7419
RGBrgb(47, 116, 25)
HSLhsl(105, 65%, 28%)
HSVhsv(105, 78%, 45%)
CMYKcmyk(59.5%, 0%, 78.4%, 54.5%)
CIE-LABlab(43.01, -39.02, 40.93)
CIE-LCHlch(43.01, 56.55, 133.63°)
OKLaboklab(49.58% -0.1073 0.0919)
OKLCHoklch(49.58% 0.141 139.4)
XYZxyz(7.5928, 13.1647, 3.0604)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7419 #5E1974
analogous
#5C7419 #2F7419 #197431
triadic
#2F7419 #192F74 #74192F
tetradic
#2F7419 #195C74 #5E1974 #743119
square
#2F7419 #195C74 #5E1974 #743119
split-complementary
#2F7419 #311974 #74195C
monochromatic
#0A1905 #1B420E #2F7419 #43A624 #5BD334

Accessibility & contrast

On white

5.78
#2F7419 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2F7419 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7419
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7419#FFFFFF#000000##FFFFFF
##2F74191.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786906
Deuteranopia (green-blind)
#6F6323
Tritanopia (blue-blind)
#277063
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f7419;
/* rgb */ color: rgb(47, 116, 25);
/* oklch */ color: oklch(49.6% 0.141 139.4);
Tailwind
colors: {
  custom: {
    50: '#709d5d',
    500: '#2f7419',
    950: '#000000',
  },
}
SCSS
$custom: #2f7419;
$custom-light: #709d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7419",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 25
  },
  "hsl": {
    "h": 105.495,
    "s": 64.539,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4958,
    "c": 0.1413,
    "h": 139.4
  },
  "luminance": 0.13165
}

Semantic roles & 50–950 ramp

primary
#2F7419
secondary
#9040A9
accent
#40E8BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7419

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

Preview Lab → · Contrast checker → · Palette generator →

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