#2F542E#2F542E

#2F542E is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.7% C 0.075 H 143.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#2F542E
RGBrgb(47, 84, 46)
HSLhsl(118, 29%, 25%)
HSVhsv(118, 45%, 33%)
CMYKcmyk(44%, 0%, 45.2%, 67.1%)
CIE-LABlab(32.13, -22.18, 18.15)
CIE-LCHlch(32.13, 28.66, 140.70°)
OKLaboklab(40.72% -0.0604 0.0447)
OKLCHoklch(40.72% 0.075 143.5)
XYZxyz(4.8355, 7.1420, 3.7080)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F542E #532E54
analogous
#42542E #2F542E #2E5440
triadic
#2F542E #2E2F54 #542E2F
tetradic
#2F542E #2E4254 #532E54 #54402E
square
#2F542E #2E4254 #532E54 #54402E
split-complementary
#2F542E #402E54 #542E42
monochromatic
#0B140B #192C18 #2F542E #457C44 #5BA359

Accessibility & contrast

On white

8.65
#2F542E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2F542E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F542E
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F542E#FFFFFF#000000##FFFFFF
##2F542E1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E2B
Deuteranopia (green-blind)
#504A30
Tritanopia (blue-blind)
#2B524B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f542e;
/* rgb */ color: rgb(47, 84, 46);
/* oklch */ color: oklch(40.7% 0.075 143.5);
Tailwind
colors: {
  custom: {
    50: '#6a8467',
    500: '#2f542e',
    950: '#000000',
  },
}
SCSS
$custom: #2f542e;
$custom-light: #6a8467;
$custom-dark: #000000;
JSON
{
  "hex": "#2f542e",
  "rgb": {
    "r": 47,
    "g": 84,
    "b": 46
  },
  "hsl": {
    "h": 118.421,
    "s": 29.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.40724,
    "c": 0.07517,
    "h": 143.5
  },
  "luminance": 0.07142
}

Semantic roles & 50–950 ramp

primary
#2F542E
secondary
#845886
accent
#62C5C3
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #2F542E

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

Preview Lab → · Contrast checker → · Palette generator →

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