#2F5516#2F5516

#2F5516 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.7% C 0.101 H 135.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2F5516
RGBrgb(47, 85, 22)
HSLhsl(96, 59%, 21%)
HSVhsv(96, 74%, 33%)
CMYKcmyk(44.7%, 0%, 74.1%, 66.7%)
CIE-LABlab(32.17, -25.86, 31.17)
CIE-LCHlch(32.17, 40.50, 129.68°)
OKLaboklab(40.65% -0.072 0.071)
OKLCHoklch(40.65% 0.101 135.4)
XYZxyz(4.5655, 7.1590, 1.9002)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5516 #3C1655
analogous
#4E5516 #2F5516 #16551C
triadic
#2F5516 #162F55 #55162F
tetradic
#2F5516 #164E55 #3C1655 #551C16
square
#2F5516 #164E55 #3C1655 #551C16
split-complementary
#2F5516 #1C1655 #55164E
monochromatic
#0D1806 #142409 #2F5516 #4A8623 #65B62F

Accessibility & contrast

On white

8.64
#2F5516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2F5516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5516
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5516#FFFFFF#000000##FFFFFF
##2F55161.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E0D
Deuteranopia (green-blind)
#534B1C
Tritanopia (blue-blind)
#2E5248
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f5516;
/* rgb */ color: rgb(47, 85, 22);
/* oklch */ color: oklch(40.7% 0.101 135.4);
Tailwind
colors: {
  custom: {
    50: '#6b8557',
    500: '#2f5516',
    950: '#000000',
  },
}
SCSS
$custom: #2f5516;
$custom-light: #6b8557;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5516",
  "rgb": {
    "r": 47,
    "g": 85,
    "b": 22
  },
  "hsl": {
    "h": 96.19,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40654,
    "c": 0.10113,
    "h": 135.4
  },
  "luminance": 0.07159
}

Semantic roles & 50–950 ramp

primary
#2F5516
secondary
#6C3A8C
accent
#46E2A4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5516

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

Preview Lab → · Contrast checker → · Palette generator →

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