#2F4616#2F4616

#2F4616 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.3% C 0.078 H 131.0°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2F4616
RGBrgb(47, 70, 22)
HSLhsl(89, 52%, 18%)
HSVhsv(89, 69%, 27%)
CMYKcmyk(32.9%, 0%, 68.6%, 72.5%)
CIE-LABlab(26.86, -18.26, 25.44)
CIE-LCHlch(26.86, 31.32, 125.67°)
OKLaboklab(36.32% -0.0512 0.0589)
OKLCHoklch(36.32% 0.078 131)
XYZxyz(3.5072, 5.0425, 1.5474)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4616 #2D1646
analogous
#464516 #2F4616 #174616
triadic
#2F4616 #162F46 #46162F
tetradic
#2F4616 #164645 #2D1646 #461617
square
#2F4616 #164645 #2D1646 #461617
split-complementary
#2F4616 #161746 #451646
monochromatic
#101707 #101707 #2F4616 #4E7525 #6EA333

Accessibility & contrast

On white

10.46
#2F4616 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2F4616 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4616
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4616#FFFFFF#000000##FFFFFF
##2F46161.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494110
Deuteranopia (green-blind)
#463F1A
Tritanopia (blue-blind)
#30433C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f4616;
/* rgb */ color: rgb(47, 70, 22);
/* oklch */ color: oklch(36.3% 0.078 131.0);
Tailwind
colors: {
  custom: {
    50: '#697955',
    500: '#2f4616',
    950: '#000000',
  },
}
SCSS
$custom: #2f4616;
$custom-light: #697955;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4616",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 22
  },
  "hsl": {
    "h": 88.75,
    "s": 52.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36322,
    "c": 0.0781,
    "h": 131
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#2F4616
secondary
#5B3A7D
accent
#4CDC91
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F4616

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

Preview Lab → · Contrast checker → · Palette generator →

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