#2F341B#2F341B

#2F341B is a dark, muted yellow-green. Relative luminance 0.031; OKLCH L 31.3% C 0.042 H 118.1°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#2F341B
RGBrgb(47, 52, 27)
HSLhsl(72, 32%, 15%)
HSVhsv(72, 48%, 20%)
CMYKcmyk(9.6%, 0%, 48.1%, 79.6%)
CIE-LABlab(20.59, -7.12, 15.09)
CIE-LCHlch(20.59, 16.68, 115.25°)
OKLaboklab(31.3% -0.0196 0.0368)
OKLCHoklch(31.3% 0.042 118.1)
XYZxyz(2.5981, 3.1395, 1.5058)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F341B #201B34
analogous
#342C1B #2F341B #22341B
triadic
#2F341B #1B2F34 #341B2F
tetradic
#2F341B #1B342C #201B34 #341B22
square
#2F341B #1B342C #201B34 #341B22
split-complementary
#2F341B #1B2234 #2C1B34
monochromatic
#12140A #12140A #2F341B #535C30 #788545

Accessibility & contrast

On white

12.90
#2F341B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2F341B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F341B
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F341B#FFFFFF#000000##FFFFFF
##2F341B1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373219
Deuteranopia (green-blind)
#36321C
Tritanopia (blue-blind)
#31322E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f341b;
/* rgb */ color: rgb(47, 52, 27);
/* oklch */ color: oklch(31.3% 0.042 118.1);
Tailwind
colors: {
  custom: {
    50: '#686b57',
    500: '#2f341b',
    950: '#000000',
  },
}
SCSS
$custom: #2f341b;
$custom-light: #686b57;
$custom-dark: #000000;
JSON
{
  "hex": "#2f341b",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 27
  },
  "hsl": {
    "h": 72,
    "s": 31.646,
    "l": 15.49
  },
  "oklch": {
    "l": 0.31297,
    "c": 0.04168,
    "h": 118.1
  },
  "luminance": 0.03139
}

Semantic roles & 50–950 ramp

primary
#2F341B
secondary
#4A4268
accent
#60C875
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2F341B

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

Preview Lab → · Contrast checker → · Palette generator →

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