#2F4E0E#2F4E0E

#2F4E0E is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.6% C 0.097 H 132.3°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2F4E0E
RGBrgb(47, 78, 14)
HSLhsl(89, 70%, 18%)
HSVhsv(89, 82%, 31%)
CMYKcmyk(39.7%, 0%, 82.1%, 69.4%)
CIE-LABlab(29.63, -23.09, 32.03)
CIE-LCHlch(29.63, 39.49, 125.79°)
OKLaboklab(38.56% -0.0652 0.0715)
OKLCHoklch(38.56% 0.097 132.3)
XYZxyz(3.9759, 6.0847, 1.3803)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E0E #2D0E4E
analogous
#4E4D0E #2F4E0E #0F4E0E
triadic
#2F4E0E #0E2F4E #4E0E2F
tetradic
#2F4E0E #0E4E4D #2D0E4E #4E0E0F
square
#2F4E0E #0E4E4D #2D0E4E #4E0E0F
split-complementary
#2F4E0E #0E0F4E #4D0E4E
monochromatic
#101A05 #101A05 #2F4E0E #4E8217 #6EB621

Accessibility & contrast

On white

9.47
#2F4E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2F4E0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E0E
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E0E#FFFFFF#000000##FFFFFF
##2F4E0E1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524703
Deuteranopia (green-blind)
#4D4514
Tritanopia (blue-blind)
#304A42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4e0e;
/* rgb */ color: rgb(47, 78, 14);
/* oklch */ color: oklch(38.6% 0.097 132.3);
Tailwind
colors: {
  custom: {
    50: '#6b8052',
    500: '#2f4e0e',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e0e;
$custom-light: #6b8052;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e0e",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 14
  },
  "hsl": {
    "h": 89.063,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38556,
    "c": 0.09676,
    "h": 132.3
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#2F4E0E
secondary
#5B2F89
accent
#3BEC91
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2F4E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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