#2F4916#2F4916

#2F4916 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.2% C 0.083 H 132.2°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2F4916
RGBrgb(47, 73, 22)
HSLhsl(91, 54%, 19%)
HSVhsv(91, 70%, 29%)
CMYKcmyk(35.6%, 0%, 69.9%, 71.4%)
CIE-LABlab(27.92, -19.85, 26.62)
CIE-LCHlch(27.92, 33.21, 126.72°)
OKLaboklab(37.19% -0.0556 0.0614)
OKLCHoklch(37.19% 0.083 132.2)
XYZxyz(3.6996, 5.4272, 1.6115)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4916 #301649
analogous
#484916 #2F4916 #164916
triadic
#2F4916 #162F49 #49162F
tetradic
#2F4916 #164849 #301649 #491616
square
#2F4916 #164849 #301649 #491616
split-complementary
#2F4916 #161649 #491648
monochromatic
#0F1807 #111A08 #2F4916 #4D7824 #6CA732

Accessibility & contrast

On white

10.07
#2F4916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2F4916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4916
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4916#FFFFFF#000000##FFFFFF
##2F49161.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4310
Deuteranopia (green-blind)
#49411A
Tritanopia (blue-blind)
#30463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f4916;
/* rgb */ color: rgb(47, 73, 22);
/* oklch */ color: oklch(37.2% 0.083 132.2);
Tailwind
colors: {
  custom: {
    50: '#6a7c56',
    500: '#2f4916',
    950: '#000000',
  },
}
SCSS
$custom: #2f4916;
$custom-light: #6a7c56;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4916",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 22
  },
  "hsl": {
    "h": 90.588,
    "s": 53.684,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37187,
    "c": 0.08287,
    "h": 132.2
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#2F4916
secondary
#5E3A80
accent
#4BDD95
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F4916

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

Preview Lab → · Contrast checker → · Palette generator →

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