#2F3709#2F3709

#2F3709 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.9% C 0.067 H 119.0°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#2F3709
RGBrgb(47, 55, 9)
HSLhsl(70, 72%, 13%)
HSVhsv(70, 84%, 22%)
CMYKcmyk(14.5%, 0%, 83.6%, 78.4%)
CIE-LABlab(21.42, -10.87, 25.92)
CIE-LCHlch(21.42, 28.10, 112.75°)
OKLaboklab(31.89% -0.0322 0.0582)
OKLCHoklch(31.89% 0.067 119)
XYZxyz(2.5878, 3.3565, 0.7699)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3709 #110937
analogous
#372809 #2F3709 #183709
triadic
#2F3709 #092F37 #37092F
tetradic
#2F3709 #093728 #110937 #370918
square
#2F3709 #093728 #110937 #370918
split-complementary
#2F3709 #091837 #280937
monochromatic
#161A04 #161A04 #2F3709 #5C6C12 #89A01A

Accessibility & contrast

On white

12.57
#2F3709 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2F3709 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3709
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3709#FFFFFF#000000##FFFFFF
##2F37091.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3303
Deuteranopia (green-blind)
#3A340D
Tritanopia (blue-blind)
#32342E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f3709;
/* rgb */ color: rgb(47, 55, 9);
/* oklch */ color: oklch(31.9% 0.067 119.0);
Tailwind
colors: {
  custom: {
    50: '#696d4c',
    500: '#2f3709',
    950: '#000000',
  },
}
SCSS
$custom: #2f3709;
$custom-light: #696d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3709",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 9
  },
  "hsl": {
    "h": 70.435,
    "s": 71.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.31885,
    "c": 0.06653,
    "h": 119
  },
  "luminance": 0.03356
}

Semantic roles & 50–950 ramp

primary
#2F3709
secondary
#342775
accent
#39EF59
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3709

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

Preview Lab → · Contrast checker → · Palette generator →

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