#2F5615#2F5615

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

Color values

HEX#2F5615
RGBrgb(47, 86, 21)
HSLhsl(96, 61%, 21%)
HSVhsv(96, 76%, 34%)
CMYKcmyk(45.3%, 0%, 75.6%, 66.3%)
CIE-LABlab(32.51, -26.42, 31.98)
CIE-LCHlch(32.51, 41.48, 129.57°)
OKLaboklab(40.93% -0.0736 0.0726)
OKLCHoklch(40.93% 0.103 135.4)
XYZxyz(4.6353, 7.3138, 1.8768)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5615 #3C1556
analogous
#4F5615 #2F5615 #15561B
triadic
#2F5615 #152F56 #56152F
tetradic
#2F5615 #154F56 #3C1556 #561B15
square
#2F5615 #154F56 #3C1556 #561B15
split-complementary
#2F5615 #1B1556 #56154F
monochromatic
#0D1906 #142509 #2F5615 #4A8721 #65B82D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F5615#FFFFFF#000000##FFFFFF
##2F56151.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)
#594E0B
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#2E5349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f5615;
/* rgb */ color: rgb(47, 86, 21);
/* oklch */ color: oklch(40.9% 0.103 135.4);
Tailwind
colors: {
  custom: {
    50: '#6b8657',
    500: '#2f5615',
    950: '#000000',
  },
}
SCSS
$custom: #2f5615;
$custom-light: #6b8657;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5615",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 21
  },
  "hsl": {
    "h": 96,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40933,
    "c": 0.10336,
    "h": 135.4
  },
  "luminance": 0.07314
}

Semantic roles & 50–950 ramp

primary
#2F5615
secondary
#6C398E
accent
#44E4A4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5615

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

Preview Lab → · Contrast checker → · Palette generator →

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