#2F4A13#2F4A13

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

Color values

HEX#2F4A13
RGBrgb(47, 74, 19)
HSLhsl(89, 59%, 18%)
HSVhsv(89, 74%, 29%)
CMYKcmyk(36.5%, 0%, 74.3%, 71%)
CIE-LABlab(28.24, -20.66, 28.45)
CIE-LCHlch(28.24, 35.16, 126.00°)
OKLaboklab(37.44% -0.0581 0.0648)
OKLCHoklch(37.44% 0.087 131.9)
XYZxyz(3.7386, 5.5488, 1.4900)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4A13 #2E134A
analogous
#4A4913 #2F4A13 #134A13
triadic
#2F4A13 #132F4A #4A132F
tetradic
#2F4A13 #134A49 #2E134A #4A1313
square
#2F4A13 #134A49 #2E134A #4A1313
split-complementary
#2F4A13 #13134A #49134A
monochromatic
#0F1806 #101906 #2F4A13 #4E7B20 #6DAB2C

Accessibility & contrast

On white

9.95
#2F4A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4A13
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4A13#FFFFFF#000000##FFFFFF
##2F4A131.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440B
Deuteranopia (green-blind)
#4A4218
Tritanopia (blue-blind)
#30473F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f4a13;
/* rgb */ color: rgb(47, 74, 19);
/* oklch */ color: oklch(37.4% 0.087 131.9);
Tailwind
colors: {
  custom: {
    50: '#6a7c54',
    500: '#2f4a13',
    950: '#000000',
  },
}
SCSS
$custom: #2f4a13;
$custom-light: #6a7c54;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4a13",
  "rgb": {
    "r": 47,
    "g": 74,
    "b": 19
  },
  "hsl": {
    "h": 89.455,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37443,
    "c": 0.08708,
    "h": 131.9
  },
  "luminance": 0.05549
}

Semantic roles & 50–950 ramp

primary
#2F4A13
secondary
#5C3683
accent
#45E292
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#070903
muted
#7A7B78

Preview Lab

Preview with #2F4A13

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

Preview Lab → · Contrast checker → · Palette generator →

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