#2F4606#2F4606

#2F4606 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.090 H 128.5°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#2F4606
RGBrgb(47, 70, 6)
HSLhsl(82, 84%, 15%)
HSVhsv(82, 91%, 27%)
CMYKcmyk(32.9%, 0%, 91.4%, 72.5%)
CIE-LABlab(26.73, -19.50, 32.38)
CIE-LCHlch(26.73, 37.80, 121.06°)
OKLaboklab(36.18% -0.0561 0.0707)
OKLCHoklch(36.18% 0.09 128.5)
XYZxyz(3.3953, 4.9977, 0.9580)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4606 #1D0646
analogous
#463D06 #2F4606 #0F4606
triadic
#2F4606 #062F46 #46062F
tetradic
#2F4606 #06463D #1D0646 #46060F
square
#2F4606 #06463D #1D0646 #46060F
split-complementary
#2F4606 #060F46 #3D0646
monochromatic
#131C02 #131C02 #2F4606 #557E0B #7BB710

Accessibility & contrast

On white

10.50
#2F4606 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2F4606 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4606
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4606#FFFFFF#000000##FFFFFF
##2F46061.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#473F0D
Tritanopia (blue-blind)
#31423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f4606;
/* rgb */ color: rgb(47, 70, 6);
/* oklch */ color: oklch(36.2% 0.090 128.5);
Tailwind
colors: {
  custom: {
    50: '#6a794d',
    500: '#2f4606',
    950: '#000000',
  },
}
SCSS
$custom: #2f4606;
$custom-light: #6a794d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4606",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 6
  },
  "hsl": {
    "h": 81.563,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.36178,
    "c": 0.09028,
    "h": 128.5
  },
  "luminance": 0.04998
}

Semantic roles & 50–950 ramp

primary
#2F4606
secondary
#462285
accent
#2DFA77
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #2F4606

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

Preview Lab → · Contrast checker → · Palette generator →

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