#2F6915#2F6915

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

Color values

HEX#2F6915
RGBrgb(47, 105, 21)
HSLhsl(101, 67%, 25%)
HSVhsv(101, 80%, 41%)
CMYKcmyk(55.2%, 0%, 80%, 58.8%)
CIE-LABlab(39.18, -34.84, 38.66)
CIE-LCHlch(39.18, 52.04, 132.03°)
OKLaboklab(46.41% -0.0963 0.0865)
OKLCHoklch(46.41% 0.13 138.1)
XYZxyz(6.3590, 10.7611, 2.4513)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6915 #4F1569
analogous
#596915 #2F6915 #156925
triadic
#2F6915 #152F69 #69152F
tetradic
#2F6915 #155969 #4F1569 #692515
square
#2F6915 #155969 #4F1569 #692515
split-complementary
#2F6915 #251569 #691559
monochromatic
#0B1A05 #18360B #2F6915 #469C1F #5DCF29

Accessibility & contrast

On white

6.66
#2F6915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2F6915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6915
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6915#FFFFFF#000000##FFFFFF
##2F69151.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f6915;
/* rgb */ color: rgb(47, 105, 21);
/* oklch */ color: oklch(46.4% 0.130 138.1);
Tailwind
colors: {
  custom: {
    50: '#6e9459',
    500: '#2f6915',
    950: '#000000',
  },
}
SCSS
$custom: #2f6915;
$custom-light: #6e9459;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6915",
  "rgb": {
    "r": 47,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 101.429,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46409,
    "c": 0.1295,
    "h": 138.1
  },
  "luminance": 0.10762
}

Semantic roles & 50–950 ramp

primary
#2F6915
secondary
#803AA0
accent
#3EEAB5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6915

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

Preview Lab → · Contrast checker → · Palette generator →

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