#2F4705#2F4705

#2F4705 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.5% C 0.092 H 128.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#2F4705
RGBrgb(47, 71, 5)
HSLhsl(82, 87%, 15%)
HSVhsv(82, 93%, 28%)
CMYKcmyk(33.8%, 0%, 93%, 72.2%)
CIE-LABlab(27.08, -20.09, 33.10)
CIE-LCHlch(27.08, 38.72, 121.25°)
OKLaboklab(36.46% -0.0578 0.072)
OKLCHoklch(36.46% 0.092 128.8)
XYZxyz(3.4529, 5.1217, 0.9502)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4705 #1D0547
analogous
#473E05 #2F4705 #0E4705
triadic
#2F4705 #052F47 #47052F
tetradic
#2F4705 #05473E #1D0547 #47050E
square
#2F4705 #05473E #1D0547 #47050E
split-complementary
#2F4705 #050E47 #3E0547
monochromatic
#131D02 #131D02 #2F4705 #558009 #7BB90D

Accessibility & contrast

On white

10.37
#2F4705 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2F4705 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4705
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4705#FFFFFF#000000##FFFFFF
##2F47051.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#483F0C
Tritanopia (blue-blind)
#31433B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f4705;
/* rgb */ color: rgb(47, 71, 5);
/* oklch */ color: oklch(36.5% 0.092 128.8);
Tailwind
colors: {
  custom: {
    50: '#6b7a4c',
    500: '#2f4705',
    950: '#000000',
  },
}
SCSS
$custom: #2f4705;
$custom-light: #6b7a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4705",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 5
  },
  "hsl": {
    "h": 81.818,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.36462,
    "c": 0.09231,
    "h": 128.8
  },
  "luminance": 0.05122
}

Semantic roles & 50–950 ramp

primary
#2F4705
secondary
#462187
accent
#2BFD77
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #2F4705

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

Preview Lab → · Contrast checker → · Palette generator →

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