#2F491C#2F491C

#2F491C is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.3% C 0.077 H 133.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#2F491C
RGBrgb(47, 73, 28)
HSLhsl(95, 45%, 20%)
HSVhsv(95, 62%, 29%)
CMYKcmyk(35.6%, 0%, 61.6%, 71.4%)
CIE-LABlab(27.99, -19.17, 23.49)
CIE-LCHlch(27.99, 30.32, 129.22°)
OKLaboklab(37.27% -0.0532 0.0555)
OKLCHoklch(37.27% 0.077 133.8)
XYZxyz(3.7644, 5.4531, 1.9526)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F491C #361C49
analogous
#45491C #2F491C #1C4920
triadic
#2F491C #1C2F49 #491C2F
tetradic
#2F491C #1C4549 #361C49 #49201C
square
#2F491C #1C4549 #361C49 #49201C
split-complementary
#2F491C #201C49 #491C45
monochromatic
#0E1608 #131D0B #2F491C #4B752D #68A13E

Accessibility & contrast

On white

10.04
#2F491C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2F491C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F491C
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F491C#FFFFFF#000000##FFFFFF
##2F491C1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4318
Deuteranopia (green-blind)
#48411F
Tritanopia (blue-blind)
#2F463F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f491c;
/* rgb */ color: rgb(47, 73, 28);
/* oklch */ color: oklch(37.3% 0.077 133.8);
Tailwind
colors: {
  custom: {
    50: '#697c5a',
    500: '#2f491c',
    950: '#000000',
  },
}
SCSS
$custom: #2f491c;
$custom-light: #697c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f491c",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 28
  },
  "hsl": {
    "h": 94.667,
    "s": 44.554,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37266,
    "c": 0.07684,
    "h": 133.8
  },
  "luminance": 0.05453
}

Semantic roles & 50–950 ramp

primary
#2F491C
secondary
#65427E
accent
#54D49E
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2F491C

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

Preview Lab → · Contrast checker → · Palette generator →

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