#2F331E#2F331E

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

Color values

HEX#2F331E
RGBrgb(47, 51, 30)
HSLhsl(71, 26%, 16%)
HSVhsv(71, 41%, 20%)
CMYKcmyk(7.8%, 0%, 41.2%, 80%)
CIE-LABlab(20.31, -6.02, 12.77)
CIE-LCHlch(20.31, 14.12, 115.23°)
OKLaboklab(31.09% -0.0163 0.0316)
OKLCHoklch(31.09% 0.036 117.3)
XYZxyz(2.5905, 3.0657, 1.6833)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F331E #221E33
analogous
#332C1E #2F331E #24331E
triadic
#2F331E #1E2F33 #331E2F
tetradic
#2F331E #1E332C #221E33 #331E24
square
#2F331E #1E332C #221E33 #331E24
split-complementary
#2F331E #1E2433 #2C1E33
monochromatic
#12130B #12130B #2F331E #535A35 #76804B

Accessibility & contrast

On white

13.02
#2F331E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F331E
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F331E#FFFFFF#000000##FFFFFF
##2F331E1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f331e;
/* rgb */ color: rgb(47, 51, 30);
/* oklch */ color: oklch(31.1% 0.036 117.3);
Tailwind
colors: {
  custom: {
    50: '#686a5a',
    500: '#2f331e',
    950: '#000000',
  },
}
SCSS
$custom: #2f331e;
$custom-light: #686a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f331e",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 30
  },
  "hsl": {
    "h": 71.429,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.31085,
    "c": 0.03555,
    "h": 117.3
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

primary
#2F331E
secondary
#4D4766
accent
#65C277
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2F331E

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

Preview Lab → · Contrast checker → · Palette generator →

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