#2F4A16#2F4A16

#2F4A16 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.5% C 0.084 H 132.5°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2F4A16
RGBrgb(47, 74, 22)
HSLhsl(91, 54%, 19%)
HSVhsv(91, 70%, 29%)
CMYKcmyk(36.5%, 0%, 70.3%, 71%)
CIE-LABlab(28.27, -20.38, 27.01)
CIE-LCHlch(28.27, 33.83, 127.04°)
OKLaboklab(37.48% -0.057 0.0623)
OKLCHoklch(37.48% 0.084 132.5)
XYZxyz(3.7658, 5.5597, 1.6336)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4A16 #31164A
analogous
#494A16 #2F4A16 #164A17
triadic
#2F4A16 #162F4A #4A162F
tetradic
#2F4A16 #16494A #31164A #4A1716
square
#2F4A16 #16494A #31164A #4A1716
split-complementary
#2F4A16 #17164A #4A1649
monochromatic
#0F1807 #111B08 #2F4A16 #4D7924 #6BA832

Accessibility & contrast

On white

9.94
#2F4A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4A16
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4A16#FFFFFF#000000##FFFFFF
##2F4A161.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4410
Deuteranopia (green-blind)
#49421A
Tritanopia (blue-blind)
#30473F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f4a16;
/* rgb */ color: rgb(47, 74, 22);
/* oklch */ color: oklch(37.5% 0.084 132.5);
Tailwind
colors: {
  custom: {
    50: '#6a7c56',
    500: '#2f4a16',
    950: '#000000',
  },
}
SCSS
$custom: #2f4a16;
$custom-light: #6a7c56;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4a16",
  "rgb": {
    "r": 47,
    "g": 74,
    "b": 22
  },
  "hsl": {
    "h": 91.154,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37475,
    "c": 0.08444,
    "h": 132.5
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#2F4A16
secondary
#5F3A82
accent
#4ADE97
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F4A16

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

Preview Lab → · Contrast checker → · Palette generator →

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