#2F4A0E#2F4A0E

#2F4A0E is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.4% C 0.091 H 131.0°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2F4A0E
RGBrgb(47, 74, 14)
HSLhsl(87, 68%, 17%)
HSVhsv(87, 81%, 29%)
CMYKcmyk(36.5%, 0%, 81.1%, 71%)
CIE-LABlab(28.20, -21.07, 30.64)
CIE-LCHlch(28.20, 37.18, 124.52°)
OKLaboklab(37.4% -0.0597 0.0686)
OKLCHoklch(37.4% 0.091 131)
XYZxyz(3.7003, 5.5335, 1.2885)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4A0E #290E4A
analogous
#4A470E #2F4A0E #114A0E
triadic
#2F4A0E #0E2F4A #4A0E2F
tetradic
#2F4A0E #0E4A47 #290E4A #4A0E11
square
#2F4A0E #0E4A47 #290E4A #4A0E11
split-complementary
#2F4A0E #0E114A #470E4A
monochromatic
#101A05 #101A05 #2F4A0E #507D18 #70B121

Accessibility & contrast

On white

9.97
#2F4A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2F4A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4A0E
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4A0E#FFFFFF#000000##FFFFFF
##2F4A0E1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4404
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#30473E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f4a0e;
/* rgb */ color: rgb(47, 74, 14);
/* oklch */ color: oklch(37.4% 0.091 131.0);
Tailwind
colors: {
  custom: {
    50: '#6a7c51',
    500: '#2f4a0e',
    950: '#000000',
  },
}
SCSS
$custom: #2f4a0e;
$custom-light: #6a7c51;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4a0e",
  "rgb": {
    "r": 47,
    "g": 74,
    "b": 14
  },
  "hsl": {
    "h": 87,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37396,
    "c": 0.09093,
    "h": 131
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#2F4A0E
secondary
#562F85
accent
#3DEB8B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F4A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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