#2F562D#2F562D

#2F562D is a dark, moderate green. Relative luminance 0.074; OKLCH L 41.3% C 0.080 H 143.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#2F562D
RGBrgb(47, 86, 45)
HSLhsl(117, 31%, 26%)
HSVhsv(117, 48%, 34%)
CMYKcmyk(45.3%, 0%, 47.7%, 66.3%)
CIE-LABlab(32.81, -23.36, 19.62)
CIE-LCHlch(32.81, 30.51, 139.98°)
OKLaboklab(41.27% -0.0637 0.0481)
OKLCHoklch(41.27% 0.08 143)
XYZxyz(4.9735, 7.4491, 3.6579)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F562D #542D56
analogous
#43562D #2F562D #2D563F
triadic
#2F562D #2D2F56 #562D2F
tetradic
#2F562D #2D4356 #542D56 #563F2D
square
#2F562D #2D4356 #542D56 #563F2D
split-complementary
#2F562D #3F2D56 #562D43
monochromatic
#0B140B #192E18 #2F562D #457E42 #5BA657

Accessibility & contrast

On white

8.43
#2F562D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2F562D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F562D
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F562D#FFFFFF#000000##FFFFFF
##2F562D1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F2A
Deuteranopia (green-blind)
#524C30
Tritanopia (blue-blind)
#2B544C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f562d;
/* rgb */ color: rgb(47, 86, 45);
/* oklch */ color: oklch(41.3% 0.080 143.0);
Tailwind
colors: {
  custom: {
    50: '#6a8666',
    500: '#2f562d',
    950: '#000000',
  },
}
SCSS
$custom: #2f562d;
$custom-light: #6a8666;
$custom-dark: #000000;
JSON
{
  "hex": "#2f562d",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 45
  },
  "hsl": {
    "h": 117.073,
    "s": 31.298,
    "l": 25.686
  },
  "oklch": {
    "l": 0.41272,
    "c": 0.07977,
    "h": 143
  },
  "luminance": 0.07449
}

Semantic roles & 50–950 ramp

primary
#2F562D
secondary
#855788
accent
#60C7C2
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #2F562D

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

Preview Lab → · Contrast checker → · Palette generator →

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