#2F4E1D#2F4E1D

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

Color values

HEX#2F4E1D
RGBrgb(47, 78, 29)
HSLhsl(98, 46%, 21%)
HSVhsv(98, 63%, 31%)
CMYKcmyk(39.7%, 0%, 62.8%, 69.4%)
CIE-LABlab(29.77, -21.65, 25.01)
CIE-LCHlch(29.77, 33.08, 130.88°)
OKLaboklab(38.72% -0.0599 0.0589)
OKLCHoklch(38.72% 0.084 135.5)
XYZxyz(4.1184, 6.1416, 2.1306)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E1D #3C1D4E
analogous
#474E1D #2F4E1D #1D4E23
triadic
#2F4E1D #1D2F4E #4E1D2F
tetradic
#2F4E1D #1D474E #3C1D4E #4E231D
square
#2F4E1D #1D474E #3C1D4E #4E231D
split-complementary
#2F4E1D #231D4E #4E1D47
monochromatic
#0D1608 #14210C #2F4E1D #4A7B2E #65A73E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F4E1D#FFFFFF#000000##FFFFFF
##2F4E1D1.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)
#514818
Deuteranopia (green-blind)
#4C4521
Tritanopia (blue-blind)
#2E4B43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4e1d;
/* rgb */ color: rgb(47, 78, 29);
/* oklch */ color: oklch(38.7% 0.084 135.5);
Tailwind
colors: {
  custom: {
    50: '#6a805b',
    500: '#2f4e1d',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e1d;
$custom-light: #6a805b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e1d",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 29
  },
  "hsl": {
    "h": 97.959,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.38718,
    "c": 0.08399,
    "h": 135.5
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#2F4E1D
secondary
#6C4483
accent
#52D5A5
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2F4E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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