#2F341A#2F341A

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

Color values

HEX#2F341A
RGBrgb(47, 52, 26)
HSLhsl(72, 33%, 15%)
HSVhsv(72, 50%, 20%)
CMYKcmyk(9.6%, 0%, 50%, 79.6%)
CIE-LABlab(20.58, -7.26, 15.70)
CIE-LCHlch(20.58, 17.30, 114.81°)
OKLaboklab(31.28% -0.0201 0.0381)
OKLCHoklch(31.28% 0.043 117.9)
XYZxyz(2.5867, 3.1349, 1.4459)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F341A #1F1A34
analogous
#342C1A #2F341A #22341A
triadic
#2F341A #1A2F34 #341A2F
tetradic
#2F341A #1A342C #1F1A34 #341A22
square
#2F341A #1A342C #1F1A34 #341A22
split-complementary
#2F341A #1A2234 #2C1A34
monochromatic
#12140A #12140A #2F341A #545D2E #798643

Accessibility & contrast

On white

12.91
#2F341A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F341A
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F341A#FFFFFF#000000##FFFFFF
##2F341A1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373118
Deuteranopia (green-blind)
#37321B
Tritanopia (blue-blind)
#31312E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f341a;
/* rgb */ color: rgb(47, 52, 26);
/* oklch */ color: oklch(31.3% 0.043 117.9);
Tailwind
colors: {
  custom: {
    50: '#686b57',
    500: '#2f341a',
    950: '#000000',
  },
}
SCSS
$custom: #2f341a;
$custom-light: #686b57;
$custom-dark: #000000;
JSON
{
  "hex": "#2f341a",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 26
  },
  "hsl": {
    "h": 71.538,
    "s": 33.333,
    "l": 15.294
  },
  "oklch": {
    "l": 0.31277,
    "c": 0.04308,
    "h": 117.9
  },
  "luminance": 0.03135
}

Semantic roles & 50–950 ramp

primary
#2F341A
secondary
#494169
accent
#5EC973
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2F341A

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

Preview Lab → · Contrast checker → · Palette generator →

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