#2F4609#2F4609

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

Color values

HEX#2F4609
RGBrgb(47, 70, 9)
HSLhsl(83, 77%, 15%)
HSVhsv(83, 87%, 27%)
CMYKcmyk(32.9%, 0%, 87.1%, 72.5%)
CIE-LABlab(26.75, -19.32, 31.20)
CIE-LCHlch(26.75, 36.70, 121.76°)
OKLaboklab(36.2% -0.0554 0.0689)
OKLCHoklch(36.2% 0.088 128.8)
XYZxyz(3.4118, 5.0043, 1.0446)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4609 #200946
analogous
#463E09 #2F4609 #104609
triadic
#2F4609 #092F46 #46092F
tetradic
#2F4609 #09463E #200946 #460910
square
#2F4609 #09463E #200946 #460910
split-complementary
#2F4609 #091046 #3E0946
monochromatic
#121B03 #121B03 #2F4609 #537C10 #78B217

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2f4609;
/* rgb */ color: rgb(47, 70, 9);
/* oklch */ color: oklch(36.2% 0.088 128.8);
Tailwind
colors: {
  custom: {
    50: '#6a794e',
    500: '#2f4609',
    950: '#000000',
  },
}
SCSS
$custom: #2f4609;
$custom-light: #6a794e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4609",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 9
  },
  "hsl": {
    "h": 82.623,
    "s": 77.215,
    "l": 15.49
  },
  "oklch": {
    "l": 0.362,
    "c": 0.08837,
    "h": 128.8
  },
  "luminance": 0.05004
}

Semantic roles & 50–950 ramp

primary
#2F4609
secondary
#4A2784
accent
#34F47C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F4609

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

Preview Lab → · Contrast checker → · Palette generator →

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