#2F4E1E#2F4E1E

#2F4E1E is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.7% C 0.083 H 135.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2F4E1E
RGBrgb(47, 78, 30)
HSLhsl(99, 44%, 21%)
HSVhsv(99, 62%, 31%)
CMYKcmyk(39.7%, 0%, 61.5%, 69.4%)
CIE-LABlab(29.78, -21.53, 24.48)
CIE-LCHlch(29.78, 32.60, 131.33°)
OKLaboklab(38.73% -0.0595 0.0578)
OKLCHoklch(38.73% 0.083 135.8)
XYZxyz(4.1309, 6.1467, 2.1968)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E1E #3D1E4E
analogous
#474E1E #2F4E1E #1E4E25
triadic
#2F4E1E #1E2F4E #4E1E2F
tetradic
#2F4E1E #1E474E #3D1E4E #4E251E
square
#2F4E1E #1E474E #3D1E4E #4E251E
split-complementary
#2F4E1E #251E4E #4E1E47
monochromatic
#0D1609 #14220D #2F4E1E #4A7A2F #64A640

Accessibility & contrast

On white

9.42
#2F4E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2F4E1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E1E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E1E#FFFFFF#000000##FFFFFF
##2F4E1E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514819
Deuteranopia (green-blind)
#4C4521
Tritanopia (blue-blind)
#2E4B43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4e1e;
/* rgb */ color: rgb(47, 78, 30);
/* oklch */ color: oklch(38.7% 0.083 135.8);
Tailwind
colors: {
  custom: {
    50: '#6a805b',
    500: '#2f4e1e',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e1e;
$custom-light: #6a805b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e1e",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 30
  },
  "hsl": {
    "h": 98.75,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.38732,
    "c": 0.08297,
    "h": 135.8
  },
  "luminance": 0.06147
}

Semantic roles & 50–950 ramp

primary
#2F4E1E
secondary
#6D4583
accent
#54D4A7
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2F4E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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