#2F402D#2F402D

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

Color values

HEX#2F402D
RGBrgb(47, 64, 45)
HSLhsl(114, 17%, 21%)
HSVhsv(114, 30%, 25%)
CMYKcmyk(26.6%, 0%, 29.7%, 74.9%)
CIE-LABlab(25.14, -11.31, 9.47)
CIE-LCHlch(25.14, 14.75, 140.06°)
OKLaboklab(35.06% -0.0308 0.024)
OKLCHoklch(35.06% 0.039 142)
XYZxyz(3.4792, 4.4605, 3.1598)
Luminance0.0446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F402D #3E2D40
analogous
#39402D #2F402D #2D4035
triadic
#2F402D #2D2F40 #402D2F
tetradic
#2F402D #2D3940 #3E2D40 #40352D
square
#2F402D #2D3940 #3E2D40 #40352D
split-complementary
#2F402D #352D40 #402D39
monochromatic
#0D120D #151C14 #2F402D #496446 #648860

Accessibility & contrast

On white

11.10
#2F402D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F402D
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F402D#FFFFFF#000000##FFFFFF
##2F402D1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f402d;
/* rgb */ color: rgb(47, 64, 45);
/* oklch */ color: oklch(35.1% 0.039 142.0);
Tailwind
colors: {
  custom: {
    50: '#687566',
    500: '#2f402d',
    950: '#000000',
  },
}
SCSS
$custom: #2f402d;
$custom-light: #687566;
$custom-dark: #000000;
JSON
{
  "hex": "#2f402d",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 45
  },
  "hsl": {
    "h": 113.684,
    "s": 17.431,
    "l": 21.373
  },
  "oklch": {
    "l": 0.35062,
    "c": 0.03909,
    "h": 142
  },
  "luminance": 0.04461
}

Semantic roles & 50–950 ramp

primary
#2F402D
secondary
#6E5871
accent
#6EBAB2
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#060805
muted
#7A7B7A

Preview Lab

Preview with #2F402D

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

Preview Lab → · Contrast checker → · Palette generator →

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