#2F4806#2F4806

#2F4806 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.8% C 0.093 H 129.3°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2F4806
RGBrgb(47, 72, 6)
HSLhsl(83, 85%, 15%)
HSVhsv(83, 92%, 28%)
CMYKcmyk(34.7%, 0%, 91.7%, 71.8%)
CIE-LABlab(27.44, -20.54, 33.01)
CIE-LCHlch(27.44, 38.88, 121.90°)
OKLaboklab(36.76% -0.0589 0.072)
OKLCHoklch(36.76% 0.093 129.3)
XYZxyz(3.5225, 5.2521, 1.0004)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4806 #1F0648
analogous
#484006 #2F4806 #0E4806
triadic
#2F4806 #062F48 #48062F
tetradic
#2F4806 #064840 #1F0648 #48060E
square
#2F4806 #064840 #1F0648 #48060E
split-complementary
#2F4806 #060E48 #400648
monochromatic
#121C02 #121C02 #2F4806 #54800B #79B90F

Accessibility & contrast

On white

10.24
#2F4806 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2F4806 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4806
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4806#FFFFFF#000000##FFFFFF
##2F48061.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#49400E
Tritanopia (blue-blind)
#31443C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f4806;
/* rgb */ color: rgb(47, 72, 6);
/* oklch */ color: oklch(36.8% 0.093 129.3);
Tailwind
colors: {
  custom: {
    50: '#6b7b4d',
    500: '#2f4806',
    950: '#000000',
  },
}
SCSS
$custom: #2f4806;
$custom-light: #6b7b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4806",
  "rgb": {
    "r": 47,
    "g": 72,
    "b": 6
  },
  "hsl": {
    "h": 82.727,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.36759,
    "c": 0.09308,
    "h": 129.3
  },
  "luminance": 0.05252
}

Semantic roles & 50–950 ramp

primary
#2F4806
secondary
#492387
accent
#2DFB7B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F4806

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

Preview Lab → · Contrast checker → · Palette generator →

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