#2F6911#2F6911

#2F6911 is a mid, vivid yellow-green. Relative luminance 0.107; OKLCH L 46.4% C 0.132 H 137.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2F6911
RGBrgb(47, 105, 17)
HSLhsl(100, 72%, 24%)
HSVhsv(100, 84%, 41%)
CMYKcmyk(55.2%, 0%, 83.8%, 58.8%)
CIE-LABlab(39.15, -35.11, 40.03)
CIE-LCHlch(39.15, 53.25, 131.25°)
OKLaboklab(46.38% -0.0973 0.0888)
OKLCHoklch(46.38% 0.132 137.6)
XYZxyz(6.3248, 10.7475, 2.2714)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6911 #4B1169
analogous
#5B6911 #2F6911 #11691F
triadic
#2F6911 #112F69 #69112F
tetradic
#2F6911 #115B69 #4B1169 #691F11
square
#2F6911 #115B69 #4B1169 #691F11
split-complementary
#2F6911 #1F1169 #69115B
monochromatic
#0C1A04 #173408 #2F6911 #479E1A #5ED222

Accessibility & contrast

On white

6.67
#2F6911 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F6911
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6911#FFFFFF#000000##FFFFFF
##2F69111.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#655A1B
Tritanopia (blue-blind)
#2B6559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f6911;
/* rgb */ color: rgb(47, 105, 17);
/* oklch */ color: oklch(46.4% 0.132 137.6);
Tailwind
colors: {
  custom: {
    50: '#6f9458',
    500: '#2f6911',
    950: '#000000',
  },
}
SCSS
$custom: #2f6911;
$custom-light: #6f9458;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6911",
  "rgb": {
    "r": 47,
    "g": 105,
    "b": 17
  },
  "hsl": {
    "h": 99.545,
    "s": 72.131,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46382,
    "c": 0.13172,
    "h": 137.6
  },
  "luminance": 0.10748
}

Semantic roles & 50–950 ramp

primary
#2F6911
secondary
#7C35A1
accent
#39EFB1
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2F6911

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

Preview Lab → · Contrast checker → · Palette generator →

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