#2F551A#2F551A

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

Color values

HEX#2F551A
RGBrgb(47, 85, 26)
HSLhsl(99, 53%, 22%)
HSVhsv(99, 69%, 33%)
CMYKcmyk(44.7%, 0%, 69.4%, 66.7%)
CIE-LABlab(32.20, -25.47, 29.31)
CIE-LCHlch(32.20, 38.83, 130.99°)
OKLaboklab(40.7% -0.0706 0.0677)
OKLCHoklch(40.7% 0.098 136.2)
XYZxyz(4.6071, 7.1757, 2.1194)
Luminance0.0718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F551A #401A55
analogous
#4D551A #2F551A #1A5523
triadic
#2F551A #1A2F55 #551A2F
tetradic
#2F551A #1A4D55 #401A55 #55231A
square
#2F551A #1A4D55 #401A55 #55231A
split-complementary
#2F551A #231A55 #551A4D
monochromatic
#0D1707 #15260C #2F551A #498428 #63B337

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F551A#FFFFFF#000000##FFFFFF
##2F551A1.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)
#584E13
Deuteranopia (green-blind)
#534B1F
Tritanopia (blue-blind)
#2E5249
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f551a;
/* rgb */ color: rgb(47, 85, 26);
/* oklch */ color: oklch(40.7% 0.098 136.2);
Tailwind
colors: {
  custom: {
    50: '#6b8559',
    500: '#2f551a',
    950: '#000000',
  },
}
SCSS
$custom: #2f551a;
$custom-light: #6b8559;
$custom-dark: #000000;
JSON
{
  "hex": "#2f551a",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 26
  },
  "hsl": {
    "h": 98.644,
    "s": 53.153,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40696,
    "c": 0.09779,
    "h": 136.2
  },
  "luminance": 0.07176
}

Semantic roles & 50–950 ramp

primary
#2F551A
secondary
#70408B
accent
#4BDDA9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2F551A

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

Preview Lab → · Contrast checker → · Palette generator →

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