#2F3909#2F3909

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

Color values

HEX#2F3909
RGBrgb(47, 57, 9)
HSLhsl(73, 73%, 13%)
HSVhsv(73, 84%, 22%)
CMYKcmyk(17.5%, 0%, 84.2%, 77.6%)
CIE-LABlab(22.13, -12.06, 26.67)
CIE-LCHlch(22.13, 29.27, 114.33°)
OKLaboklab(32.46% -0.0355 0.0596)
OKLCHoklch(32.46% 0.069 120.8)
XYZxyz(2.6848, 3.5503, 0.8022)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3909 #130939
analogous
#392B09 #2F3909 #173909
triadic
#2F3909 #092F39 #39092F
tetradic
#2F3909 #09392B #130939 #390917
square
#2F3909 #09392B #130939 #390917
split-complementary
#2F3909 #091739 #2B0939
monochromatic
#161A04 #161A04 #2F3909 #5B6E11 #86A31A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3909#FFFFFF#000000##FFFFFF
##2F39091.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)
#3D3503
Deuteranopia (green-blind)
#3C350D
Tritanopia (blue-blind)
#323630
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f3909;
/* rgb */ color: rgb(47, 57, 9);
/* oklch */ color: oklch(32.5% 0.069 120.8);
Tailwind
colors: {
  custom: {
    50: '#696f4c',
    500: '#2f3909',
    950: '#000000',
  },
}
SCSS
$custom: #2f3909;
$custom-light: #696f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3909",
  "rgb": {
    "r": 47,
    "g": 57,
    "b": 9
  },
  "hsl": {
    "h": 72.5,
    "s": 72.727,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32455,
    "c": 0.06943,
    "h": 120.8
  },
  "luminance": 0.0355
}

Semantic roles & 50–950 ramp

primary
#2F3909
secondary
#372777
accent
#38EF5F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3909

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

Preview Lab → · Contrast checker → · Palette generator →

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