#2F4906#2F4906

#2F4906 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.0% C 0.094 H 129.7°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#2F4906
RGBrgb(47, 73, 6)
HSLhsl(83, 85%, 15%)
HSVhsv(83, 92%, 29%)
CMYKcmyk(35.6%, 0%, 91.8%, 71.4%)
CIE-LABlab(27.80, -21.06, 33.32)
CIE-LCHlch(27.80, 39.42, 122.29°)
OKLaboklab(37.05% -0.0603 0.0727)
OKLCHoklch(37.05% 0.094 129.7)
XYZxyz(3.5877, 5.3825, 1.0222)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4906 #200649
analogous
#494106 #2F4906 #0D4906
triadic
#2F4906 #062F49 #49062F
tetradic
#2F4906 #064941 #200649 #49060D
square
#2F4906 #064941 #200649 #49060D
split-complementary
#2F4906 #060D49 #410649
monochromatic
#121C02 #121C02 #2F4906 #53820B #78BA0F

Accessibility & contrast

On white

10.11
#2F4906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4906
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4906#FFFFFF#000000##FFFFFF
##2F49061.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4300
Deuteranopia (green-blind)
#49410E
Tritanopia (blue-blind)
#31453D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f4906;
/* rgb */ color: rgb(47, 73, 6);
/* oklch */ color: oklch(37.0% 0.094 129.7);
Tailwind
colors: {
  custom: {
    50: '#6b7c4d',
    500: '#2f4906',
    950: '#000000',
  },
}
SCSS
$custom: #2f4906;
$custom-light: #6b7c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4906",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 6
  },
  "hsl": {
    "h": 83.284,
    "s": 84.81,
    "l": 15.49
  },
  "oklch": {
    "l": 0.3705,
    "c": 0.09447,
    "h": 129.7
  },
  "luminance": 0.05383
}

Semantic roles & 50–950 ramp

primary
#2F4906
secondary
#4A2388
accent
#2DFB7D
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F4906

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

Preview Lab → · Contrast checker → · Palette generator →

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