#2F3908#2F3908

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

Color values

HEX#2F3908
RGBrgb(47, 57, 8)
HSLhsl(72, 75%, 13%)
HSVhsv(72, 86%, 22%)
CMYKcmyk(17.5%, 0%, 86%, 77.6%)
CIE-LABlab(22.12, -12.13, 27.07)
CIE-LCHlch(22.12, 29.66, 114.13°)
OKLaboklab(32.45% -0.0358 0.0604)
OKLCHoklch(32.45% 0.07 120.7)
XYZxyz(2.6793, 3.5481, 0.7734)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3908 #120839
analogous
#392A08 #2F3908 #163908
triadic
#2F3908 #082F39 #39082F
tetradic
#2F3908 #08392A #120839 #390816
square
#2F3908 #08392A #120839 #390816
split-complementary
#2F3908 #081639 #2A0839
monochromatic
#161B04 #161B04 #2F3908 #5B6F10 #88A417

Accessibility & contrast

On white

12.28
#2F3908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3908
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3908#FFFFFF#000000##FFFFFF
##2F39081.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3502
Deuteranopia (green-blind)
#3C350C
Tritanopia (blue-blind)
#323530
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f3908;
/* rgb */ color: rgb(47, 57, 8);
/* oklch */ color: oklch(32.4% 0.070 120.7);
Tailwind
colors: {
  custom: {
    50: '#696f4c',
    500: '#2f3908',
    950: '#000000',
  },
}
SCSS
$custom: #2f3908;
$custom-light: #696f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3908",
  "rgb": {
    "r": 47,
    "g": 57,
    "b": 8
  },
  "hsl": {
    "h": 72.245,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.32446,
    "c": 0.07022,
    "h": 120.7
  },
  "luminance": 0.03548
}

Semantic roles & 50–950 ramp

primary
#2F3908
secondary
#362578
accent
#36F25C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3908

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

Preview Lab → · Contrast checker → · Palette generator →

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