#2F6A11#2F6A11

#2F6A11 is a mid, vivid yellow-green. Relative luminance 0.110; OKLCH L 46.7% C 0.133 H 137.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2F6A11
RGBrgb(47, 106, 17)
HSLhsl(100, 72%, 24%)
HSVhsv(100, 84%, 42%)
CMYKcmyk(55.7%, 0%, 84%, 58.4%)
CIE-LABlab(39.50, -35.52, 40.36)
CIE-LCHlch(39.50, 53.76, 131.35°)
OKLaboklab(46.67% -0.0984 0.0895)
OKLCHoklch(46.67% 0.133 137.7)
XYZxyz(6.4273, 10.9524, 2.3055)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6A11 #4C116A
analogous
#5C6A11 #2F6A11 #116A1F
triadic
#2F6A11 #112F6A #6A112F
tetradic
#2F6A11 #115C6A #4C116A #6A1F11
square
#2F6A11 #115C6A #4C116A #6A1F11
split-complementary
#2F6A11 #1F116A #6A115C
monochromatic
#0C1A04 #183509 #2F6A11 #469F19 #5ED322

Accessibility & contrast

On white

6.58
#2F6A11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2F6A11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6A11
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6A11#FFFFFF#000000##FFFFFF
##2F6A111.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#2A665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f6a11;
/* rgb */ color: rgb(47, 106, 17);
/* oklch */ color: oklch(46.7% 0.133 137.7);
Tailwind
colors: {
  custom: {
    50: '#6f9558',
    500: '#2f6a11',
    950: '#000000',
  },
}
SCSS
$custom: #2f6a11;
$custom-light: #6f9558;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6a11",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 17
  },
  "hsl": {
    "h": 99.775,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46669,
    "c": 0.133,
    "h": 137.7
  },
  "luminance": 0.10953
}

Semantic roles & 50–950 ramp

primary
#2F6A11
secondary
#7D35A2
accent
#39EFB2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6A11

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

Preview Lab → · Contrast checker → · Palette generator →

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