#2F491E#2F491E

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

Color values

HEX#2F491E
RGBrgb(47, 73, 30)
HSLhsl(96, 42%, 20%)
HSVhsv(96, 59%, 29%)
CMYKcmyk(35.6%, 0%, 58.9%, 71.4%)
CIE-LABlab(28.02, -18.91, 22.40)
CIE-LCHlch(28.02, 29.32, 130.18°)
OKLaboklab(37.3% -0.0523 0.0533)
OKLCHoklch(37.3% 0.075 134.5)
XYZxyz(3.7891, 5.4630, 2.0829)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F491E #381E49
analogous
#44491E #2F491E #1E4922
triadic
#2F491E #1E2F49 #491E2F
tetradic
#2F491E #1E4449 #381E49 #49221E
square
#2F491E #1E4449 #381E49 #49221E
split-complementary
#2F491E #221E49 #491E44
monochromatic
#0E1609 #131E0C #2F491E #4B7430 #67A042

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F491E#FFFFFF#000000##FFFFFF
##2F491E1.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)
#4C431A
Deuteranopia (green-blind)
#484121
Tritanopia (blue-blind)
#2F463F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f491e;
/* rgb */ color: rgb(47, 73, 30);
/* oklch */ color: oklch(37.3% 0.075 134.5);
Tailwind
colors: {
  custom: {
    50: '#697c5b',
    500: '#2f491e',
    950: '#000000',
  },
}
SCSS
$custom: #2f491e;
$custom-light: #697c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f491e",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 30
  },
  "hsl": {
    "h": 96.279,
    "s": 41.748,
    "l": 20.196
  },
  "oklch": {
    "l": 0.37296,
    "c": 0.07467,
    "h": 134.5
  },
  "luminance": 0.05463
}

Semantic roles & 50–950 ramp

primary
#2F491E
secondary
#67457E
accent
#56D2A1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2F491E

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

Preview Lab → · Contrast checker → · Palette generator →

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