#2F4607#2F4607

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

Color values

HEX#2F4607
RGBrgb(47, 70, 7)
HSLhsl(82, 82%, 15%)
HSVhsv(82, 90%, 27%)
CMYKcmyk(32.9%, 0%, 90%, 72.5%)
CIE-LABlab(26.73, -19.44, 31.98)
CIE-LCHlch(26.73, 37.43, 121.30°)
OKLaboklab(36.19% -0.0559 0.0701)
OKLCHoklch(36.19% 0.09 128.6)
XYZxyz(3.4008, 4.9999, 0.9869)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4607 #1E0746
analogous
#463E07 #2F4607 #0F4607
triadic
#2F4607 #072F46 #46072F
tetradic
#2F4607 #07463E #1E0746 #46070F
square
#2F4607 #07463E #1E0746 #46070F
split-complementary
#2F4607 #070F46 #3E0746
monochromatic
#131C03 #131C03 #2F4607 #547E0D #7AB512

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F4607#FFFFFF#000000##FFFFFF
##2F46071.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)
#473F0E
Tritanopia (blue-blind)
#31423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f4607;
/* rgb */ color: rgb(47, 70, 7);
/* oklch */ color: oklch(36.2% 0.090 128.6);
Tailwind
colors: {
  custom: {
    50: '#6a794d',
    500: '#2f4607',
    950: '#000000',
  },
}
SCSS
$custom: #2f4607;
$custom-light: #6a794d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4607",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 7
  },
  "hsl": {
    "h": 81.905,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.36185,
    "c": 0.08963,
    "h": 128.6
  },
  "luminance": 0.05
}

Semantic roles & 50–950 ramp

primary
#2F4607
secondary
#472485
accent
#30F879
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #2F4607

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

Preview Lab → · Contrast checker → · Palette generator →

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