#2F6111#2F6111

#2F6111 is a dark, vivid yellow-green. Relative luminance 0.092; OKLCH L 44.1% C 0.121 H 136.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#2F6111
RGBrgb(47, 97, 17)
HSLhsl(98, 70%, 22%)
HSVhsv(98, 82%, 38%)
CMYKcmyk(51.5%, 0%, 82.5%, 62%)
CIE-LABlab(36.35, -31.71, 37.39)
CIE-LCHlch(36.35, 49.03, 130.30°)
OKLaboklab(44.08% -0.0882 0.0832)
OKLCHoklch(44.08% 0.121 136.7)
XYZxyz(5.5480, 9.1938, 2.0124)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6111 #431161
analogous
#576111 #2F6111 #11611B
triadic
#2F6111 #112F61 #61112F
tetradic
#2F6111 #115761 #431161 #611B11
square
#2F6111 #115761 #431161 #611B11
split-complementary
#2F6111 #1B1161 #611157
monochromatic
#0D1A05 #162D08 #2F6111 #48951A #61C923

Accessibility & contrast

On white

7.40
#2F6111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2F6111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6111
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6111#FFFFFF#000000##FFFFFF
##2F61111.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#5E541A
Tritanopia (blue-blind)
#2C5D52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f6111;
/* rgb */ color: rgb(47, 97, 17);
/* oklch */ color: oklch(44.1% 0.121 136.7);
Tailwind
colors: {
  custom: {
    50: '#6d8e56',
    500: '#2f6111',
    950: '#000000',
  },
}
SCSS
$custom: #2f6111;
$custom-light: #6d8e56;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6111",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 17
  },
  "hsl": {
    "h": 97.5,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44079,
    "c": 0.12126,
    "h": 136.7
  },
  "luminance": 0.09194
}

Semantic roles & 50–950 ramp

primary
#2F6111
secondary
#743499
accent
#3BEDAA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F6111

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

Preview Lab → · Contrast checker → · Palette generator →

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