#2F550C#2F550C

#2F550C is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.6% C 0.108 H 133.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#2F550C
RGBrgb(47, 85, 12)
HSLhsl(91, 75%, 19%)
HSVhsv(91, 86%, 33%)
CMYKcmyk(44.7%, 0%, 85.9%, 66.7%)
CIE-LABlab(32.10, -26.60, 35.12)
CIE-LCHlch(32.10, 44.05, 127.14°)
OKLaboklab(40.57% -0.0748 0.0776)
OKLCHoklch(40.57% 0.108 133.9)
XYZxyz(4.4871, 7.1276, 1.4871)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F550C #320C55
analogous
#54550C #2F550C #0C550E
triadic
#2F550C #0C2F55 #550C2F
tetradic
#2F550C #0C5455 #320C55 #550E0C
square
#2F550C #0C5455 #320C55 #550E0C
split-complementary
#2F550C #0E0C55 #550C54
monochromatic
#0F1B04 #111F04 #2F550C #4D8B14 #6AC01B

Accessibility & contrast

On white

8.66
#2F550C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2F550C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F550C
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F550C#FFFFFF#000000##FFFFFF
##2F550C1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594D00
Deuteranopia (green-blind)
#544A14
Tritanopia (blue-blind)
#2F5148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f550c;
/* rgb */ color: rgb(47, 85, 12);
/* oklch */ color: oklch(40.6% 0.108 133.9);
Tailwind
colors: {
  custom: {
    50: '#6c8552',
    500: '#2f550c',
    950: '#000000',
  },
}
SCSS
$custom: #2f550c;
$custom-light: #6c8552;
$custom-dark: #000000;
JSON
{
  "hex": "#2f550c",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 12
  },
  "hsl": {
    "h": 91.233,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40574,
    "c": 0.1078,
    "h": 133.9
  },
  "luminance": 0.07128
}

Semantic roles & 50–950 ramp

primary
#2F550C
secondary
#602D90
accent
#36F298
background
#F6F8F4
surface
#ECEFE7
border
#C7CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2F550C

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

Preview Lab → · Contrast checker → · Palette generator →

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