#2F4706#2F4706

#2F4706 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.5% C 0.092 H 128.9°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#2F4706
RGBrgb(47, 71, 6)
HSLhsl(82, 84%, 15%)
HSVhsv(82, 92%, 28%)
CMYKcmyk(33.8%, 0%, 91.5%, 72.2%)
CIE-LABlab(27.08, -20.03, 32.69)
CIE-LCHlch(27.08, 38.34, 121.49°)
OKLaboklab(36.47% -0.0575 0.0714)
OKLCHoklch(36.47% 0.092 128.9)
XYZxyz(3.4584, 5.1239, 0.9791)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4706 #1E0647
analogous
#473F06 #2F4706 #0E4706
triadic
#2F4706 #062F47 #47062F
tetradic
#2F4706 #06473F #1E0647 #47060E
square
#2F4706 #06473F #1E0647 #47060E
split-complementary
#2F4706 #060E47 #3F0647
monochromatic
#131C02 #131C02 #2F4706 #547F0B #7AB810

Accessibility & contrast

On white

10.37
#2F4706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2F4706 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4706
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4706#FFFFFF#000000##FFFFFF
##2F47061.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#483F0D
Tritanopia (blue-blind)
#31433B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f4706;
/* rgb */ color: rgb(47, 71, 6);
/* oklch */ color: oklch(36.5% 0.092 128.9);
Tailwind
colors: {
  custom: {
    50: '#6b7a4d',
    500: '#2f4706',
    950: '#000000',
  },
}
SCSS
$custom: #2f4706;
$custom-light: #6b7a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4706",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 6
  },
  "hsl": {
    "h": 82.154,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.36469,
    "c": 0.09167,
    "h": 128.9
  },
  "luminance": 0.05124
}

Semantic roles & 50–950 ramp

primary
#2F4706
secondary
#472386
accent
#2DFB79
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #2F4706

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

Preview Lab → · Contrast checker → · Palette generator →

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