#2F331D#2F331D

#2F331D is a dark, muted yellow-green. Relative luminance 0.031; OKLCH L 31.1% C 0.037 H 117.0°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#2F331D
RGBrgb(47, 51, 29)
HSLhsl(71, 28%, 16%)
HSVhsv(71, 43%, 20%)
CMYKcmyk(7.8%, 0%, 43.1%, 80%)
CIE-LABlab(20.29, -6.18, 13.40)
CIE-LCHlch(20.29, 14.75, 114.75°)
OKLaboklab(31.06% -0.0168 0.033)
OKLCHoklch(31.06% 0.037 117)
XYZxyz(2.5779, 3.0607, 1.6171)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F331D #211D33
analogous
#332C1D #2F331D #24331D
triadic
#2F331D #1D2F33 #331D2F
tetradic
#2F331D #1D332C #211D33 #331D24
square
#2F331D #1D332C #211D33 #331D24
split-complementary
#2F331D #1D2433 #2C1D33
monochromatic
#12140B #12140B #2F331D #535A33 #778149

Accessibility & contrast

On white

13.03
#2F331D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2F331D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F331D
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F331D#FFFFFF#000000##FFFFFF
##2F331D1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311B
Deuteranopia (green-blind)
#35311E
Tritanopia (blue-blind)
#31312D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f331d;
/* rgb */ color: rgb(47, 51, 29);
/* oklch */ color: oklch(31.1% 0.037 117.0);
Tailwind
colors: {
  custom: {
    50: '#686a59',
    500: '#2f331d',
    950: '#000000',
  },
}
SCSS
$custom: #2f331d;
$custom-light: #686a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2f331d",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 29
  },
  "hsl": {
    "h": 70.909,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.31063,
    "c": 0.03704,
    "h": 117
  },
  "luminance": 0.03061
}

Semantic roles & 50–950 ramp

primary
#2F331D
secondary
#4B4566
accent
#64C475
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2F331D

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

Preview Lab → · Contrast checker → · Palette generator →

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