#2F4608#2F4608

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

Color values

HEX#2F4608
RGBrgb(47, 70, 8)
HSLhsl(82, 79%, 15%)
HSVhsv(82, 89%, 27%)
CMYKcmyk(32.9%, 0%, 88.6%, 72.5%)
CIE-LABlab(26.74, -19.38, 31.59)
CIE-LCHlch(26.74, 37.06, 121.53°)
OKLaboklab(36.19% -0.0556 0.0695)
OKLCHoklch(36.19% 0.089 128.7)
XYZxyz(3.4063, 5.0021, 1.0157)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4608 #1F0846
analogous
#463E08 #2F4608 #104608
triadic
#2F4608 #082F46 #46082F
tetradic
#2F4608 #08463E #1F0846 #460810
square
#2F4608 #08463E #1F0846 #460810
split-complementary
#2F4608 #081046 #3E0846
monochromatic
#121B03 #121B03 #2F4608 #547D0E #79B415

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F4608#FFFFFF#000000##FFFFFF
##2F46081.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: #2f4608;
/* rgb */ color: rgb(47, 70, 8);
/* oklch */ color: oklch(36.2% 0.089 128.7);
Tailwind
colors: {
  custom: {
    50: '#6a794e',
    500: '#2f4608',
    950: '#000000',
  },
}
SCSS
$custom: #2f4608;
$custom-light: #6a794e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4608",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 8
  },
  "hsl": {
    "h": 82.258,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.36192,
    "c": 0.089,
    "h": 128.7
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#2F4608
secondary
#492684
accent
#32F67B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F4608

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

Preview Lab → · Contrast checker → · Palette generator →

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