#2F491B#2F491B

#2F491B is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.3% C 0.078 H 133.5°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#2F491B
RGBrgb(47, 73, 27)
HSLhsl(94, 46%, 20%)
HSVhsv(94, 63%, 29%)
CMYKcmyk(35.6%, 0%, 63%, 71.4%)
CIE-LABlab(27.98, -19.30, 24.03)
CIE-LCHlch(27.98, 30.82, 128.76°)
OKLaboklab(37.25% -0.0536 0.0565)
OKLCHoklch(37.25% 0.078 133.5)
XYZxyz(3.7526, 5.4484, 1.8906)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F491B #351B49
analogous
#46491B #2F491B #1B491E
triadic
#2F491B #1B2F49 #491B2F
tetradic
#2F491B #1B4649 #351B49 #491E1B
square
#2F491B #1B4649 #351B49 #491E1B
split-complementary
#2F491B #1E1B49 #491B46
monochromatic
#0E1608 #121C0A #2F491B #4C762C #69A23C

Accessibility & contrast

On white

10.05
#2F491B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F491B
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F491B#FFFFFF#000000##FFFFFF
##2F491B1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f491b;
/* rgb */ color: rgb(47, 73, 27);
/* oklch */ color: oklch(37.3% 0.078 133.5);
Tailwind
colors: {
  custom: {
    50: '#697c59',
    500: '#2f491b',
    950: '#000000',
  },
}
SCSS
$custom: #2f491b;
$custom-light: #697c59;
$custom-dark: #000000;
JSON
{
  "hex": "#2f491b",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 27
  },
  "hsl": {
    "h": 93.913,
    "s": 46,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37252,
    "c": 0.07791,
    "h": 133.5
  },
  "luminance": 0.05449
}

Semantic roles & 50–950 ramp

primary
#2F491B
secondary
#64417F
accent
#52D69C
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F491B

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

Preview Lab → · Contrast checker → · Palette generator →

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