#2F4036#2F4036

#2F4036 is a dark, muted green. Relative luminance 0.045; OKLCH L 35.3% C 0.028 H 158.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2F4036
RGBrgb(47, 64, 54)
HSLhsl(145, 15%, 22%)
HSVhsv(145, 27%, 25%)
CMYKcmyk(26.6%, 0%, 15.6%, 74.9%)
CIE-LABlab(25.37, -9.32, 3.91)
CIE-LCHlch(25.37, 10.10, 157.24°)
OKLaboklab(35.33% -0.026 0.0101)
OKLCHoklch(35.33% 0.028 158.8)
XYZxyz(3.6713, 4.5373, 4.1717)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4036 #402F39
analogous
#31402F #2F4036 #2F403F
triadic
#2F4036 #362F40 #40362F
tetradic
#2F4036 #2F3140 #402F39 #403F2F
square
#2F4036 #2F3140 #402F39 #403F2F
split-complementary
#2F4036 #3F2F40 #402F31
monochromatic
#0D120F #151D18 #2F4036 #496354 #638772

Accessibility & contrast

On white

11.01
#2F4036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2F4036 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4036
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4036#FFFFFF#000000##FFFFFF
##2F40361.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403D35
Deuteranopia (green-blind)
#3D3B37
Tritanopia (blue-blind)
#2C403D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f4036;
/* rgb */ color: rgb(47, 64, 54);
/* oklch */ color: oklch(35.3% 0.028 158.8);
Tailwind
colors: {
  custom: {
    50: '#68746d',
    500: '#2f4036',
    950: '#000000',
  },
}
SCSS
$custom: #2f4036;
$custom-light: #68746d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4036",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 54
  },
  "hsl": {
    "h": 144.706,
    "s": 15.315,
    "l": 21.765
  },
  "oklch": {
    "l": 0.35328,
    "c": 0.02795,
    "h": 158.8
  },
  "luminance": 0.04537
}

Semantic roles & 50–950 ramp

primary
#2F4036
secondary
#705B67
accent
#709AB8
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#060807
muted
#7A7B7A

Preview Lab

Preview with #2F4036

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

Preview Lab → · Contrast checker → · Palette generator →

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