#2F4710#2F4710

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

Color values

HEX#2F4710
RGBrgb(47, 71, 16)
HSLhsl(86, 63%, 17%)
HSVhsv(86, 77%, 28%)
CMYKcmyk(33.8%, 0%, 77.5%, 72.2%)
CIE-LABlab(27.15, -19.36, 28.71)
CIE-LCHlch(27.15, 34.62, 123.99°)
OKLaboklab(36.55% -0.0548 0.0649)
OKLCHoklch(36.55% 0.085 130.2)
XYZxyz(3.5190, 5.1481, 1.2984)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4710 #281047
analogous
#474410 #2F4710 #144710
triadic
#2F4710 #102F47 #47102F
tetradic
#2F4710 #104744 #281047 #471014
square
#2F4710 #104744 #281047 #471014
split-complementary
#2F4710 #101447 #441047
monochromatic
#111906 #111906 #2F4710 #50791B #71AB27

Accessibility & contrast

On white

10.35
#2F4710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2F4710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4710
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4710#FFFFFF#000000##FFFFFF
##2F47101.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4108
Deuteranopia (green-blind)
#474015
Tritanopia (blue-blind)
#30443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f4710;
/* rgb */ color: rgb(47, 71, 16);
/* oklch */ color: oklch(36.5% 0.085 130.2);
Tailwind
colors: {
  custom: {
    50: '#6a7a52',
    500: '#2f4710',
    950: '#000000',
  },
}
SCSS
$custom: #2f4710;
$custom-light: #6a7a52;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4710",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 16
  },
  "hsl": {
    "h": 86.182,
    "s": 63.218,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36546,
    "c": 0.08497,
    "h": 130.2
  },
  "luminance": 0.05148
}

Semantic roles & 50–950 ramp

primary
#2F4710
secondary
#543281
accent
#42E689
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F4710

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

Preview Lab → · Contrast checker → · Palette generator →

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