#2F561A#2F561A

#2F561A is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.0% C 0.099 H 136.4°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#2F561A
RGBrgb(47, 86, 26)
HSLhsl(99, 54%, 22%)
HSVhsv(99, 70%, 34%)
CMYKcmyk(45.3%, 0%, 69.8%, 66.3%)
CIE-LABlab(32.56, -25.95, 29.69)
CIE-LCHlch(32.56, 39.43, 131.15°)
OKLaboklab(40.99% -0.0719 0.0685)
OKLCHoklch(40.99% 0.099 136.4)
XYZxyz(4.6864, 7.3342, 2.1458)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F561A #411A56
analogous
#4D561A #2F561A #1A5623
triadic
#2F561A #1A2F56 #561A2F
tetradic
#2F561A #1A4D56 #411A56 #56231A
square
#2F561A #1A4D56 #411A56 #56231A
split-complementary
#2F561A #231A56 #561A4D
monochromatic
#0D1707 #15270C #2F561A #498528 #62B436

Accessibility & contrast

On white

8.51
#2F561A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2F561A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F561A
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F561A#FFFFFF#000000##FFFFFF
##2F561A1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F13
Deuteranopia (green-blind)
#544B1F
Tritanopia (blue-blind)
#2D534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f561a;
/* rgb */ color: rgb(47, 86, 26);
/* oklch */ color: oklch(41.0% 0.099 136.4);
Tailwind
colors: {
  custom: {
    50: '#6b865a',
    500: '#2f561a',
    950: '#000000',
  },
}
SCSS
$custom: #2f561a;
$custom-light: #6b865a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f561a",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 26
  },
  "hsl": {
    "h": 99,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40985,
    "c": 0.0993,
    "h": 136.4
  },
  "luminance": 0.07334
}

Semantic roles & 50–950 ramp

primary
#2F561A
secondary
#71408C
accent
#4BDDAA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2F561A

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

Preview Lab → · Contrast checker → · Palette generator →

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