#2F381E#2F381E

#2F381E is a dark, muted yellow-green. Relative luminance 0.035; OKLCH L 32.5% C 0.045 H 124.4°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#2F381E
RGBrgb(47, 56, 30)
HSLhsl(81, 30%, 17%)
HSVhsv(81, 46%, 22%)
CMYKcmyk(16.1%, 0%, 46.4%, 78%)
CIE-LABlab(22.04, -9.16, 15.02)
CIE-LCHlch(22.04, 17.59, 121.38°)
OKLaboklab(32.47% -0.0252 0.0368)
OKLCHoklch(32.47% 0.045 124.4)
XYZxyz(2.8208, 3.5264, 1.7601)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F381E #271E38
analogous
#38341E #2F381E #22381E
triadic
#2F381E #1E2F38 #381E2F
tetradic
#2F381E #1E3834 #271E38 #381E22
square
#2F381E #1E3834 #271E38 #381E22
split-complementary
#2F381E #1E2238 #341E38
monochromatic
#11140B #11140B #2F381E #506033 #728849

Accessibility & contrast

On white

12.32
#2F381E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2F381E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F381E
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F381E#FFFFFF#000000##FFFFFF
##2F381E1.0012.321.7112.32
#FFFFFF12.321.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B351C
Deuteranopia (green-blind)
#39351F
Tritanopia (blue-blind)
#313632
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f381e;
/* rgb */ color: rgb(47, 56, 30);
/* oklch */ color: oklch(32.5% 0.045 124.4);
Tailwind
colors: {
  custom: {
    50: '#686e5a',
    500: '#2f381e',
    950: '#000000',
  },
}
SCSS
$custom: #2f381e;
$custom-light: #686e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f381e",
  "rgb": {
    "r": 47,
    "g": 56,
    "b": 30
  },
  "hsl": {
    "h": 80.769,
    "s": 30.233,
    "l": 16.863
  },
  "oklch": {
    "l": 0.32472,
    "c": 0.04457,
    "h": 124.4
  },
  "luminance": 0.03526
}

Semantic roles & 50–950 ramp

primary
#2F381E
secondary
#53466C
accent
#61C684
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060703
muted
#7A7A78

Preview Lab

Preview with #2F381E

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

Preview Lab → · Contrast checker → · Palette generator →

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