#2F4610#2F4610

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

Color values

HEX#2F4610
RGBrgb(47, 70, 16)
HSLhsl(86, 63%, 17%)
HSVhsv(86, 77%, 27%)
CMYKcmyk(32.9%, 0%, 77.1%, 72.5%)
CIE-LABlab(26.80, -18.82, 28.34)
CIE-LCHlch(26.80, 34.03, 123.59°)
OKLaboklab(36.26% -0.0534 0.0641)
OKLCHoklch(36.26% 0.083 129.8)
XYZxyz(3.4560, 5.0220, 1.2774)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4610 #271046
analogous
#464210 #2F4610 #144610
triadic
#2F4610 #102F46 #46102F
tetradic
#2F4610 #104642 #271046 #461014
square
#2F4610 #104642 #271046 #461014
split-complementary
#2F4610 #101446 #421046
monochromatic
#111906 #111906 #2F4610 #50781B #72AA27

Accessibility & contrast

On white

10.48
#2F4610 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2F4610 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4610
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4610#FFFFFF#000000##FFFFFF
##2F46101.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4008
Deuteranopia (green-blind)
#463F15
Tritanopia (blue-blind)
#30433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f4610;
/* rgb */ color: rgb(47, 70, 16);
/* oklch */ color: oklch(36.3% 0.083 129.8);
Tailwind
colors: {
  custom: {
    50: '#6a7952',
    500: '#2f4610',
    950: '#000000',
  },
}
SCSS
$custom: #2f4610;
$custom-light: #6a7952;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4610",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 16
  },
  "hsl": {
    "h": 85.556,
    "s": 62.791,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36256,
    "c": 0.08345,
    "h": 129.8
  },
  "luminance": 0.05022
}

Semantic roles & 50–950 ramp

primary
#2F4610
secondary
#533280
accent
#42E688
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2F4610

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

Preview Lab → · Contrast checker → · Palette generator →

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