#2F4911#2F4911

#2F4911 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.1% C 0.087 H 131.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2F4911
RGBrgb(47, 73, 17)
HSLhsl(88, 62%, 18%)
HSVhsv(88, 77%, 29%)
CMYKcmyk(35.6%, 0%, 76.7%, 71.4%)
CIE-LABlab(27.87, -20.32, 28.99)
CIE-LCHlch(27.87, 35.40, 125.03°)
OKLaboklab(37.13% -0.0574 0.0657)
OKLCHoklch(37.13% 0.087 131.1)
XYZxyz(3.6560, 5.4098, 1.3818)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4911 #2B1149
analogous
#494711 #2F4911 #134911
triadic
#2F4911 #112F49 #49112F
tetradic
#2F4911 #114947 #2B1149 #491113
square
#2F4911 #114947 #2B1149 #491113
split-complementary
#2F4911 #111349 #471149
monochromatic
#101906 #101906 #2F4911 #4F7B1D #6FAC28

Accessibility & contrast

On white

10.09
#2F4911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2F4911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4911
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4911#FFFFFF#000000##FFFFFF
##2F49111.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4309
Deuteranopia (green-blind)
#494116
Tritanopia (blue-blind)
#30463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f4911;
/* rgb */ color: rgb(47, 73, 17);
/* oklch */ color: oklch(37.1% 0.087 131.1);
Tailwind
colors: {
  custom: {
    50: '#6a7c53',
    500: '#2f4911',
    950: '#000000',
  },
}
SCSS
$custom: #2f4911;
$custom-light: #6a7c53;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4911",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 17
  },
  "hsl": {
    "h": 87.857,
    "s": 62.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37133,
    "c": 0.08719,
    "h": 131.1
  },
  "luminance": 0.0541
}

Semantic roles & 50–950 ramp

primary
#2F4911
secondary
#583382
accent
#43E58E
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F4911

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

Preview Lab → · Contrast checker → · Palette generator →

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