#2F402F#2F402F

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

Color values

HEX#2F402F
RGBrgb(47, 64, 47)
HSLhsl(120, 15%, 22%)
HSVhsv(120, 27%, 25%)
CMYKcmyk(26.6%, 0%, 26.6%, 74.9%)
CIE-LABlab(25.19, -10.89, 8.23)
CIE-LCHlch(25.19, 13.65, 142.91°)
OKLaboklab(35.12% -0.0298 0.021)
OKLCHoklch(35.12% 0.036 144.8)
XYZxyz(3.5186, 4.4763, 3.3674)
Luminance0.0448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F402F #402F40
analogous
#38402F #2F402F #2F4038
triadic
#2F402F #2F2F40 #402F2F
tetradic
#2F402F #2F3840 #402F40 #40382F
square
#2F402F #2F3840 #402F40 #40382F
split-complementary
#2F402F #382F40 #402F38
monochromatic
#0D120D #151D15 #2F402F #496349 #638763

Accessibility & contrast

On white

11.08
#2F402F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2F402F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F402F
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F402F#FFFFFF#000000##FFFFFF
##2F402F1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D2E
Deuteranopia (green-blind)
#3E3B30
Tritanopia (blue-blind)
#2D3F3B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f402f;
/* rgb */ color: rgb(47, 64, 47);
/* oklch */ color: oklch(35.1% 0.036 144.8);
Tailwind
colors: {
  custom: {
    50: '#687567',
    500: '#2f402f',
    950: '#000000',
  },
}
SCSS
$custom: #2f402f;
$custom-light: #687567;
$custom-dark: #000000;
JSON
{
  "hex": "#2f402f",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 15.315,
    "l": 21.765
  },
  "oklch": {
    "l": 0.35117,
    "c": 0.03644,
    "h": 144.8
  },
  "luminance": 0.04476
}

Semantic roles & 50–950 ramp

primary
#2F402F
secondary
#705B70
accent
#70B8B8
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#060806
muted
#7A7B7A

Preview Lab

Preview with #2F402F

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

Preview Lab → · Contrast checker → · Palette generator →

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