#2F5713#2F5713

#2F5713 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.2% C 0.106 H 135.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#2F5713
RGBrgb(47, 87, 19)
HSLhsl(95, 64%, 21%)
HSVhsv(95, 78%, 34%)
CMYKcmyk(46%, 0%, 78.2%, 65.9%)
CIE-LABlab(32.85, -27.06, 33.18)
CIE-LCHlch(32.85, 42.81, 129.20°)
OKLaboklab(41.21% -0.0755 0.0748)
OKLCHoklch(41.21% 0.106 135.3)
XYZxyz(4.6979, 7.4675, 1.8098)
Luminance0.0747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5713 #3B1357
analogous
#515713 #2F5713 #135719
triadic
#2F5713 #132F57 #57132F
tetradic
#2F5713 #135157 #3B1357 #571913
square
#2F5713 #135157 #3B1357 #571913
split-complementary
#2F5713 #191357 #571351
monochromatic
#0E1905 #142508 #2F5713 #4A891E #65BB29

Accessibility & contrast

On white

8.42
#2F5713 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2F5713 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5713
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5713#FFFFFF#000000##FFFFFF
##2F57131.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F07
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#2E534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f5713;
/* rgb */ color: rgb(47, 87, 19);
/* oklch */ color: oklch(41.2% 0.106 135.3);
Tailwind
colors: {
  custom: {
    50: '#6c8756',
    500: '#2f5713',
    950: '#000000',
  },
}
SCSS
$custom: #2f5713;
$custom-light: #6c8756;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5713",
  "rgb": {
    "r": 47,
    "g": 87,
    "b": 19
  },
  "hsl": {
    "h": 95.294,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41205,
    "c": 0.10625,
    "h": 135.3
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

primary
#2F5713
secondary
#6B368F
accent
#41E7A3
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5713

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

Preview Lab → · Contrast checker → · Palette generator →

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