#2F5616#2F5616

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

Color values

HEX#2F5616
RGBrgb(47, 86, 22)
HSLhsl(97, 59%, 21%)
HSVhsv(97, 74%, 34%)
CMYKcmyk(45.3%, 0%, 74.4%, 66.3%)
CIE-LABlab(32.52, -26.33, 31.54)
CIE-LCHlch(32.52, 41.09, 129.86°)
OKLaboklab(40.94% -0.0733 0.0718)
OKLCHoklch(40.94% 0.103 135.6)
XYZxyz(4.6448, 7.3176, 1.9266)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5616 #3D1656
analogous
#4F5616 #2F5616 #16561D
triadic
#2F5616 #162F56 #56162F
tetradic
#2F5616 #164F56 #3D1656 #561D16
square
#2F5616 #164F56 #3D1656 #561D16
split-complementary
#2F5616 #1D1656 #56164F
monochromatic
#0D1806 #14250A #2F5616 #4A8722 #64B72F

Accessibility & contrast

On white

8.52
#2F5616 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F5616
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5616#FFFFFF#000000##FFFFFF
##2F56161.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F0D
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#2E5349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f5616;
/* rgb */ color: rgb(47, 86, 22);
/* oklch */ color: oklch(40.9% 0.103 135.6);
Tailwind
colors: {
  custom: {
    50: '#6b8657',
    500: '#2f5616',
    950: '#000000',
  },
}
SCSS
$custom: #2f5616;
$custom-light: #6b8657;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5616",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 22
  },
  "hsl": {
    "h": 96.563,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40943,
    "c": 0.1026,
    "h": 135.6
  },
  "luminance": 0.07318
}

Semantic roles & 50–950 ramp

primary
#2F5616
secondary
#6D3A8D
accent
#45E2A5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5616

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

Preview Lab → · Contrast checker → · Palette generator →

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