#2F551B#2F551B

#2F551B is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.7% C 0.097 H 136.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2F551B
RGBrgb(47, 85, 27)
HSLhsl(99, 52%, 22%)
HSVhsv(99, 68%, 33%)
CMYKcmyk(44.7%, 0%, 68.2%, 66.7%)
CIE-LABlab(32.21, -25.36, 28.82)
CIE-LCHlch(32.21, 38.39, 131.34°)
OKLaboklab(40.71% -0.0702 0.0668)
OKLCHoklch(40.71% 0.097 136.4)
XYZxyz(4.6185, 7.1802, 2.1793)
Luminance0.0718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F551B #411B55
analogous
#4C551B #2F551B #1B5524
triadic
#2F551B #1B2F55 #551B2F
tetradic
#2F551B #1B4C55 #411B55 #55241B
square
#2F551B #1B4C55 #411B55 #55241B
split-complementary
#2F551B #241B55 #551B4C
monochromatic
#0D1707 #15270C #2F551B #49832A #62B239

Accessibility & contrast

On white

8.62
#2F551B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2F551B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F551B
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F551B#FFFFFF#000000##FFFFFF
##2F551B1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E14
Deuteranopia (green-blind)
#534B20
Tritanopia (blue-blind)
#2D5249
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f551b;
/* rgb */ color: rgb(47, 85, 27);
/* oklch */ color: oklch(40.7% 0.097 136.4);
Tailwind
colors: {
  custom: {
    50: '#6b855a',
    500: '#2f551b',
    950: '#000000',
  },
}
SCSS
$custom: #2f551b;
$custom-light: #6b855a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f551b",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 27
  },
  "hsl": {
    "h": 99.31,
    "s": 51.786,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40708,
    "c": 0.0969,
    "h": 136.4
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

primary
#2F551B
secondary
#71418B
accent
#4DDBAA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2F551B

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

Preview Lab → · Contrast checker → · Palette generator →

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