#2F4A15#2F4A15

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

Color values

HEX#2F4A15
RGBrgb(47, 74, 21)
HSLhsl(91, 56%, 19%)
HSVhsv(91, 72%, 29%)
CMYKcmyk(36.5%, 0%, 71.6%, 71%)
CIE-LABlab(28.26, -20.48, 27.49)
CIE-LCHlch(28.26, 34.28, 126.68°)
OKLaboklab(37.46% -0.0574 0.0631)
OKLCHoklch(37.46% 0.085 132.3)
XYZxyz(3.7564, 5.5559, 1.5838)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4A15 #30154A
analogous
#494A15 #2F4A15 #154A15
triadic
#2F4A15 #152F4A #4A152F
tetradic
#2F4A15 #15494A #30154A #4A1515
square
#2F4A15 #15494A #30154A #4A1515
split-complementary
#2F4A15 #15154A #4A1549
monochromatic
#0F1807 #111A07 #2F4A15 #4D7A23 #6CA930

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F4A15#FFFFFF#000000##FFFFFF
##2F4A151.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)
#4D440E
Deuteranopia (green-blind)
#4A4219
Tritanopia (blue-blind)
#30473F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f4a15;
/* rgb */ color: rgb(47, 74, 21);
/* oklch */ color: oklch(37.5% 0.085 132.3);
Tailwind
colors: {
  custom: {
    50: '#6a7c55',
    500: '#2f4a15',
    950: '#000000',
  },
}
SCSS
$custom: #2f4a15;
$custom-light: #6a7c55;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4a15",
  "rgb": {
    "r": 47,
    "g": 74,
    "b": 21
  },
  "hsl": {
    "h": 90.566,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37464,
    "c": 0.08534,
    "h": 132.3
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#2F4A15
secondary
#5E3982
accent
#49DF95
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #2F4A15

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

Preview Lab → · Contrast checker → · Palette generator →

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