#2F561B#2F561B

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

Color values

HEX#2F561B
RGBrgb(47, 86, 27)
HSLhsl(100, 52%, 22%)
HSVhsv(100, 69%, 34%)
CMYKcmyk(45.3%, 0%, 68.6%, 66.3%)
CIE-LABlab(32.57, -25.84, 29.21)
CIE-LCHlch(32.57, 39.00, 131.50°)
OKLaboklab(41% -0.0715 0.0676)
OKLCHoklch(41% 0.098 136.6)
XYZxyz(4.6978, 7.3388, 2.2057)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F561B #421B56
analogous
#4D561B #2F561B #1B5625
triadic
#2F561B #1B2F56 #561B2F
tetradic
#2F561B #1B4D56 #421B56 #56251B
square
#2F561B #1B4D56 #421B56 #56251B
split-complementary
#2F561B #251B56 #561B4D
monochromatic
#0D1707 #16270C #2F561B #48852A #62B338

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F561B#FFFFFF#000000##FFFFFF
##2F561B1.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)
#594F14
Deuteranopia (green-blind)
#544B20
Tritanopia (blue-blind)
#2D534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f561b;
/* rgb */ color: rgb(47, 86, 27);
/* oklch */ color: oklch(41.0% 0.098 136.6);
Tailwind
colors: {
  custom: {
    50: '#6b865a',
    500: '#2f561b',
    950: '#000000',
  },
}
SCSS
$custom: #2f561b;
$custom-light: #6b865a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f561b",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 27
  },
  "hsl": {
    "h": 99.661,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40996,
    "c": 0.09843,
    "h": 136.6
  },
  "luminance": 0.07339
}

Semantic roles & 50–950 ramp

primary
#2F561B
secondary
#72418C
accent
#4CDCAB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2F561B

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

Preview Lab → · Contrast checker → · Palette generator →

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