#2C4906#2C4906

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

Color values

HEX#2C4906
RGBrgb(44, 73, 6)
HSLhsl(86, 85%, 15%)
HSVhsv(86, 92%, 29%)
CMYKcmyk(39.7%, 0%, 91.8%, 71.4%)
CIE-LABlab(27.61, -22.36, 33.09)
CIE-LCHlch(27.61, 39.93, 124.05°)
OKLaboklab(36.85% -0.0636 0.0723)
OKLCHoklch(36.85% 0.096 131.3)
XYZxyz(3.4541, 5.3136, 1.0159)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4906 #230649
analogous
#494406 #2C4906 #0B4906
triadic
#2C4906 #062C49 #49062C
tetradic
#2C4906 #064944 #230649 #49060B
square
#2C4906 #064944 #230649 #49060B
split-complementary
#2C4906 #060B49 #440649
monochromatic
#111C02 #111C02 #2C4906 #4E820B #70BA0F

Accessibility & contrast

On white

10.18
#2C4906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2C4906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4906
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4906#FFFFFF#000000##FFFFFF
##2C49061.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4300
Deuteranopia (green-blind)
#49400E
Tritanopia (blue-blind)
#2D453D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c4906;
/* rgb */ color: rgb(44, 73, 6);
/* oklch */ color: oklch(36.8% 0.096 131.3);
Tailwind
colors: {
  custom: {
    50: '#697c4d',
    500: '#2c4906',
    950: '#000000',
  },
}
SCSS
$custom: #2c4906;
$custom-light: #697c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4906",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 6
  },
  "hsl": {
    "h": 85.97,
    "s": 84.81,
    "l": 15.49
  },
  "oklch": {
    "l": 0.36846,
    "c": 0.0963,
    "h": 131.3
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#2C4906
secondary
#4F2388
accent
#2DFB86
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C4906

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

Preview Lab → · Contrast checker → · Palette generator →

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