#2F4614#2F4614

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

Color values

HEX#2F4614
RGBrgb(47, 70, 20)
HSLhsl(88, 56%, 18%)
HSVhsv(88, 71%, 27%)
CMYKcmyk(32.9%, 0%, 71.4%, 72.5%)
CIE-LABlab(26.83, -18.46, 26.45)
CIE-LCHlch(26.83, 32.26, 124.92°)
OKLaboklab(36.3% -0.052 0.0608)
OKLCHoklch(36.3% 0.08 130.5)
XYZxyz(3.4887, 5.0351, 1.4497)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4614 #2B1446
analogous
#464414 #2F4614 #164614
triadic
#2F4614 #142F46 #46142F
tetradic
#2F4614 #144644 #2B1446 #461416
square
#2F4614 #144644 #2B1446 #461416
split-complementary
#2F4614 #141646 #441446
monochromatic
#101807 #101807 #2F4614 #4F7622 #6FA52F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F4614#FFFFFF#000000##FFFFFF
##2F46141.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)
#49410E
Deuteranopia (green-blind)
#463F18
Tritanopia (blue-blind)
#30433C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f4614;
/* rgb */ color: rgb(47, 70, 20);
/* oklch */ color: oklch(36.3% 0.080 130.5);
Tailwind
colors: {
  custom: {
    50: '#6a7954',
    500: '#2f4614',
    950: '#000000',
  },
}
SCSS
$custom: #2f4614;
$custom-light: #6a7954;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4614",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 20
  },
  "hsl": {
    "h": 87.6,
    "s": 55.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36299,
    "c": 0.08,
    "h": 130.5
  },
  "luminance": 0.05035
}

Semantic roles & 50–950 ramp

primary
#2F4614
secondary
#58387E
accent
#49DF8E
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F4614

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

Preview Lab → · Contrast checker → · Palette generator →

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