#2F3906#2F3906

#2F3906 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.4% C 0.072 H 120.5°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#2F3906
RGBrgb(47, 57, 6)
HSLhsl(72, 81%, 12%)
HSVhsv(72, 89%, 22%)
CMYKcmyk(17.5%, 0%, 89.5%, 77.6%)
CIE-LABlab(22.10, -12.27, 27.87)
CIE-LCHlch(22.10, 30.45, 113.76°)
OKLaboklab(32.43% -0.0365 0.0619)
OKLCHoklch(32.43% 0.072 120.5)
XYZxyz(2.6683, 3.5437, 0.7157)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3906 #100639
analogous
#392A06 #2F3906 #153906
triadic
#2F3906 #062F39 #39062F
tetradic
#2F3906 #06392A #100639 #390615
square
#2F3906 #06392A #100639 #390615
split-complementary
#2F3906 #061539 #2A0639
monochromatic
#171C03 #171C03 #2F3906 #5D700C #8AA812

Accessibility & contrast

On white

12.29
#2F3906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2F3906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3906
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3906#FFFFFF#000000##FFFFFF
##2F39061.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3C350A
Tritanopia (blue-blind)
#32352F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f3906;
/* rgb */ color: rgb(47, 57, 6);
/* oklch */ color: oklch(32.4% 0.072 120.5);
Tailwind
colors: {
  custom: {
    50: '#696f4b',
    500: '#2f3906',
    950: '#000000',
  },
}
SCSS
$custom: #2f3906;
$custom-light: #696f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3906",
  "rgb": {
    "r": 47,
    "g": 57,
    "b": 6
  },
  "hsl": {
    "h": 71.765,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32428,
    "c": 0.07184,
    "h": 120.5
  },
  "luminance": 0.03544
}

Semantic roles & 50–950 ramp

primary
#2F3906
secondary
#332279
accent
#30F757
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3906

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

Preview Lab → · Contrast checker → · Palette generator →

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