#2F371C#2F371C

#2F371C is a dark, muted yellow-green. Relative luminance 0.034; OKLCH L 32.2% C 0.046 H 122.5°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#2F371C
RGBrgb(47, 55, 28)
HSLhsl(78, 33%, 16%)
HSVhsv(78, 49%, 22%)
CMYKcmyk(14.5%, 0%, 49.1%, 78.4%)
CIE-LABlab(21.66, -8.84, 15.80)
CIE-LCHlch(21.66, 18.10, 119.25°)
OKLaboklab(32.15% -0.0244 0.0384)
OKLCHoklch(32.15% 0.046 122.5)
XYZxyz(2.7481, 3.4206, 1.6138)
Luminance0.0342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F371C #241C37
analogous
#37321C #2F371C #22371C
triadic
#2F371C #1C2F37 #371C2F
tetradic
#2F371C #1C3732 #241C37 #371C22
square
#2F371C #1C3732 #241C37 #371C22
split-complementary
#2F371C #1C2237 #321C37
monochromatic
#11140A #11140A #2F371C #526031 #748845

Accessibility & contrast

On white

12.47
#2F371C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2F371C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F371C
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F371C#FFFFFF#000000##FFFFFF
##2F371C1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A341A
Deuteranopia (green-blind)
#39341D
Tritanopia (blue-blind)
#313530
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2f371c;
/* rgb */ color: rgb(47, 55, 28);
/* oklch */ color: oklch(32.2% 0.046 122.5);
Tailwind
colors: {
  custom: {
    50: '#686d58',
    500: '#2f371c',
    950: '#000000',
  },
}
SCSS
$custom: #2f371c;
$custom-light: #686d58;
$custom-dark: #000000;
JSON
{
  "hex": "#2f371c",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 28
  },
  "hsl": {
    "h": 77.778,
    "s": 32.53,
    "l": 16.275
  },
  "oklch": {
    "l": 0.32152,
    "c": 0.04555,
    "h": 122.5
  },
  "luminance": 0.03421
}

Semantic roles & 50–950 ramp

primary
#2F371C
secondary
#4F436B
accent
#5FC97E
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060703
muted
#7A7A78

Preview Lab

Preview with #2F371C

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

Preview Lab → · Contrast checker → · Palette generator →

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