#2F6919#2F6919

#2F6919 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.4% C 0.127 H 138.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#2F6919
RGBrgb(47, 105, 25)
HSLhsl(104, 62%, 25%)
HSVhsv(104, 76%, 41%)
CMYKcmyk(55.2%, 0%, 76.2%, 58.8%)
CIE-LABlab(39.20, -34.54, 37.13)
CIE-LCHlch(39.20, 50.71, 132.93°)
OKLaboklab(46.44% -0.0952 0.084)
OKLCHoklch(46.44% 0.127 138.6)
XYZxyz(6.3991, 10.7772, 2.6625)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6919 #531969
analogous
#576919 #2F6919 #19692B
triadic
#2F6919 #192F69 #69192F
tetradic
#2F6919 #195769 #531969 #692B19
square
#2F6919 #195769 #531969 #692B19
split-complementary
#2F6919 #2B1969 #691957
monochromatic
#0B1906 #19380D #2F6919 #459A25 #5BCC31

Accessibility & contrast

On white

6.65
#2F6919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2F6919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6919
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6919#FFFFFF#000000##FFFFFF
##2F69191.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0B
Deuteranopia (green-blind)
#655A21
Tritanopia (blue-blind)
#2A6559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f6919;
/* rgb */ color: rgb(47, 105, 25);
/* oklch */ color: oklch(46.4% 0.127 138.6);
Tailwind
colors: {
  custom: {
    50: '#6e945b',
    500: '#2f6919',
    950: '#000000',
  },
}
SCSS
$custom: #2f6919;
$custom-light: #6e945b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6919",
  "rgb": {
    "r": 47,
    "g": 105,
    "b": 25
  },
  "hsl": {
    "h": 103.5,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.4644,
    "c": 0.12697,
    "h": 138.6
  },
  "luminance": 0.10778
}

Semantic roles & 50–950 ramp

primary
#2F6919
secondary
#843F9F
accent
#43E5B8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6919

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

Preview Lab → · Contrast checker → · Palette generator →

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