#2F6011#2F6011

#2F6011 is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 43.8% C 0.120 H 136.5°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#2F6011
RGBrgb(47, 96, 17)
HSLhsl(97, 70%, 22%)
HSVhsv(97, 82%, 38%)
CMYKcmyk(51%, 0%, 82.3%, 62.4%)
CIE-LABlab(36.00, -31.27, 37.05)
CIE-LCHlch(36.00, 48.49, 130.17°)
OKLaboklab(43.79% -0.087 0.0825)
OKLCHoklch(43.79% 0.12 136.5)
XYZxyz(5.4562, 9.0102, 1.9818)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6011 #421160
analogous
#576011 #2F6011 #11601A
triadic
#2F6011 #112F60 #60112F
tetradic
#2F6011 #115760 #421160 #601A11
square
#2F6011 #115760 #421160 #601A11
split-complementary
#2F6011 #1A1160 #601157
monochromatic
#0D1A05 #162C08 #2F6011 #48941A #62C823

Accessibility & contrast

On white

7.49
#2F6011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2F6011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6011
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6011#FFFFFF#000000##FFFFFF
##2F60111.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645701
Deuteranopia (green-blind)
#5D531A
Tritanopia (blue-blind)
#2C5C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f6011;
/* rgb */ color: rgb(47, 96, 17);
/* oklch */ color: oklch(43.8% 0.120 136.5);
Tailwind
colors: {
  custom: {
    50: '#6d8d56',
    500: '#2f6011',
    950: '#000000',
  },
}
SCSS
$custom: #2f6011;
$custom-light: #6d8d56;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6011",
  "rgb": {
    "r": 47,
    "g": 96,
    "b": 17
  },
  "hsl": {
    "h": 97.215,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43791,
    "c": 0.11993,
    "h": 136.5
  },
  "luminance": 0.09011
}

Semantic roles & 50–950 ramp

primary
#2F6011
secondary
#723499
accent
#3BEDA9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F6011

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

Preview Lab → · Contrast checker → · Palette generator →

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