#2F5614#2F5614

#2F5614 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.9% C 0.104 H 135.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#2F5614
RGBrgb(47, 86, 20)
HSLhsl(95, 62%, 21%)
HSVhsv(95, 77%, 34%)
CMYKcmyk(45.3%, 0%, 76.7%, 66.3%)
CIE-LABlab(32.50, -26.51, 32.41)
CIE-LCHlch(32.50, 41.87, 129.28°)
OKLaboklab(40.92% -0.0739 0.0733)
OKLCHoklch(40.92% 0.104 135.2)
XYZxyz(4.6262, 7.3102, 1.8289)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5614 #3B1456
analogous
#505614 #2F5614 #14561A
triadic
#2F5614 #142F56 #56142F
tetradic
#2F5614 #145056 #3B1456 #561A14
square
#2F5614 #145056 #3B1456 #561A14
split-complementary
#2F5614 #1A1456 #561450
monochromatic
#0E1906 #142408 #2F5614 #4A8820 #65B92B

Accessibility & contrast

On white

8.53
#2F5614 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2F5614 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5614
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5614#FFFFFF#000000##FFFFFF
##2F56141.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E09
Deuteranopia (green-blind)
#544B1A
Tritanopia (blue-blind)
#2E5249
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f5614;
/* rgb */ color: rgb(47, 86, 20);
/* oklch */ color: oklch(40.9% 0.104 135.2);
Tailwind
colors: {
  custom: {
    50: '#6b8656',
    500: '#2f5614',
    950: '#000000',
  },
}
SCSS
$custom: #2f5614;
$custom-light: #6b8656;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5614",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 20
  },
  "hsl": {
    "h": 95.455,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40924,
    "c": 0.1041,
    "h": 135.2
  },
  "luminance": 0.0731
}

Semantic roles & 50–950 ramp

primary
#2F5614
secondary
#6B388E
accent
#42E5A3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5614

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

Preview Lab → · Contrast checker → · Palette generator →

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