#2F4A1E#2F4A1E

#2F4A1E is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.6% C 0.076 H 134.8°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#2F4A1E
RGBrgb(47, 74, 30)
HSLhsl(97, 42%, 20%)
HSVhsv(97, 59%, 29%)
CMYKcmyk(36.5%, 0%, 59.5%, 71%)
CIE-LABlab(28.37, -19.45, 22.82)
CIE-LCHlch(28.37, 29.98, 130.44°)
OKLaboklab(37.58% -0.0538 0.0542)
OKLCHoklch(37.58% 0.076 134.8)
XYZxyz(3.8553, 5.5955, 2.1049)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4A1E #391E4A
analogous
#454A1E #2F4A1E #1E4A23
triadic
#2F4A1E #1E2F4A #4A1E2F
tetradic
#2F4A1E #1E454A #391E4A #4A231E
square
#2F4A1E #1E454A #391E4A #4A231E
split-complementary
#2F4A1E #231E4A #4A1E45
monochromatic
#0E1609 #131E0C #2F4A1E #4B7630 #66A141

Accessibility & contrast

On white

9.91
#2F4A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2F4A1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4A1E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4A1E#FFFFFF#000000##FFFFFF
##2F4A1E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D441A
Deuteranopia (green-blind)
#494221
Tritanopia (blue-blind)
#2F4740
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f4a1e;
/* rgb */ color: rgb(47, 74, 30);
/* oklch */ color: oklch(37.6% 0.076 134.8);
Tailwind
colors: {
  custom: {
    50: '#697c5b',
    500: '#2f4a1e',
    950: '#000000',
  },
}
SCSS
$custom: #2f4a1e;
$custom-light: #697c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4a1e",
  "rgb": {
    "r": 47,
    "g": 74,
    "b": 30
  },
  "hsl": {
    "h": 96.818,
    "s": 42.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.37583,
    "c": 0.07635,
    "h": 134.8
  },
  "luminance": 0.05596
}

Semantic roles & 50–950 ramp

primary
#2F4A1E
secondary
#68457F
accent
#56D2A2
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2F4A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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