#2F331C#2F331C

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

Color values

HEX#2F331C
RGBrgb(47, 51, 28)
HSLhsl(70, 29%, 15%)
HSVhsv(70, 45%, 20%)
CMYKcmyk(7.8%, 0%, 45.1%, 80%)
CIE-LABlab(20.27, -6.33, 14.02)
CIE-LCHlch(20.27, 15.39, 114.30°)
OKLaboklab(31.04% -0.0173 0.0344)
OKLCHoklch(31.04% 0.039 116.8)
XYZxyz(2.5657, 3.0559, 1.5531)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F331C #201C33
analogous
#332B1C #2F331C #23331C
triadic
#2F331C #1C2F33 #331C2F
tetradic
#2F331C #1C332B #201C33 #331C23
square
#2F331C #1C332B #201C33 #331C23
split-complementary
#2F331C #1C2333 #2B1C33
monochromatic
#12140B #12140B #2F331C #535B32 #788247

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F331C#FFFFFF#000000##FFFFFF
##2F331C1.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)
#36311A
Deuteranopia (green-blind)
#36311D
Tritanopia (blue-blind)
#31312D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f331c;
/* rgb */ color: rgb(47, 51, 28);
/* oklch */ color: oklch(31.0% 0.039 116.8);
Tailwind
colors: {
  custom: {
    50: '#686a58',
    500: '#2f331c',
    950: '#000000',
  },
}
SCSS
$custom: #2f331c;
$custom-light: #686a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2f331c",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 70.435,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.31041,
    "c": 0.03851,
    "h": 116.8
  },
  "luminance": 0.03056
}

Semantic roles & 50–950 ramp

primary
#2F331C
secondary
#4A4467
accent
#62C574
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2F331C

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

Preview Lab → · Contrast checker → · Palette generator →

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