#2F3512#2F3512

#2F3512 is a dark, muted yellow-green. Relative luminance 0.032; OKLCH L 31.4% C 0.055 H 117.8°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#2F3512
RGBrgb(47, 53, 18)
HSLhsl(70, 49%, 14%)
HSVhsv(70, 66%, 21%)
CMYKcmyk(11.3%, 0%, 66%, 79.2%)
CIE-LABlab(20.81, -8.87, 20.83)
CIE-LCHlch(20.81, 22.64, 113.07°)
OKLaboklab(31.42% -0.0256 0.0486)
OKLCHoklch(31.42% 0.055 117.8)
XYZxyz(2.5546, 3.1942, 1.0541)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3512 #181235
analogous
#352A12 #2F3512 #1E3512
triadic
#2F3512 #122F35 #35122F
tetradic
#2F3512 #12352A #181235 #35121E
square
#2F3512 #12352A #181235 #35121E
split-complementary
#2F3512 #121E35 #2A1235
monochromatic
#141708 #141708 #2F3512 #586322 #809031

Accessibility & contrast

On white

12.81
#2F3512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2F3512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3512
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3512#FFFFFF#000000##FFFFFF
##2F35121.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320E
Deuteranopia (green-blind)
#383214
Tritanopia (blue-blind)
#32322D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f3512;
/* rgb */ color: rgb(47, 53, 18);
/* oklch */ color: oklch(31.4% 0.055 117.8);
Tailwind
colors: {
  custom: {
    50: '#686c51',
    500: '#2f3512',
    950: '#000000',
  },
}
SCSS
$custom: #2f3512;
$custom-light: #686c51;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3512",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 18
  },
  "hsl": {
    "h": 70.286,
    "s": 49.296,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31422,
    "c": 0.05489,
    "h": 117.8
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#2F3512
secondary
#3F356D
accent
#4FD967
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F3512

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

Preview Lab → · Contrast checker → · Palette generator →

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