#2F402E#2F402E

#2F402E is a dark, muted green. Relative luminance 0.045; OKLCH L 35.1% C 0.038 H 143.3°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2F402E
RGBrgb(47, 64, 46)
HSLhsl(117, 16%, 22%)
HSVhsv(117, 28%, 25%)
CMYKcmyk(26.6%, 0%, 28.1%, 74.9%)
CIE-LABlab(25.16, -11.10, 8.85)
CIE-LCHlch(25.16, 14.20, 141.43°)
OKLaboklab(35.09% -0.0303 0.0226)
OKLCHoklch(35.09% 0.038 143.3)
XYZxyz(3.4987, 4.4683, 3.2624)
Luminance0.0447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F402E #3F2E40
analogous
#38402E #2F402E #2E4036
triadic
#2F402E #2E2F40 #402E2F
tetradic
#2F402E #2E3840 #3F2E40 #40362E
square
#2F402E #2E3840 #3F2E40 #40362E
split-complementary
#2F402E #362E40 #402E38
monochromatic
#0D120D #151C14 #2F402E #496448 #638761

Accessibility & contrast

On white

11.09
#2F402E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2F402E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F402E
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F402E#FFFFFF#000000##FFFFFF
##2F402E1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D2D
Deuteranopia (green-blind)
#3E3B2F
Tritanopia (blue-blind)
#2E3F3B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f402e;
/* rgb */ color: rgb(47, 64, 46);
/* oklch */ color: oklch(35.1% 0.038 143.3);
Tailwind
colors: {
  custom: {
    50: '#687566',
    500: '#2f402e',
    950: '#000000',
  },
}
SCSS
$custom: #2f402e;
$custom-light: #687566;
$custom-dark: #000000;
JSON
{
  "hex": "#2f402e",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 46
  },
  "hsl": {
    "h": 116.667,
    "s": 16.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.35089,
    "c": 0.03776,
    "h": 143.3
  },
  "luminance": 0.04468
}

Semantic roles & 50–950 ramp

primary
#2F402E
secondary
#6F5970
accent
#6FB9B5
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#060806
muted
#7A7B7A

Preview Lab

Preview with #2F402E

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

Preview Lab → · Contrast checker → · Palette generator →

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