#2C4604#2C4604

#2C4604 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.093 H 130.0°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#2C4604
RGBrgb(44, 70, 4)
HSLhsl(84, 89%, 15%)
HSVhsv(84, 94%, 27%)
CMYKcmyk(37.1%, 0%, 94.3%, 72.5%)
CIE-LABlab(26.52, -20.97, 32.93)
CIE-LCHlch(26.52, 39.04, 122.48°)
OKLaboklab(35.95% -0.0601 0.0715)
OKLCHoklch(35.95% 0.093 130)
XYZxyz(3.2508, 4.9244, 0.8941)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4604 #1E0446
analogous
#463F04 #2C4604 #0B4604
triadic
#2C4604 #042C46 #46042C
tetradic
#2C4604 #04463F #1E0446 #46040B
square
#2C4604 #04463F #1E0446 #46040B
split-complementary
#2C4604 #040B46 #3F0446
monochromatic
#121D02 #121D02 #2C4604 #508007 #75BA0B

Accessibility & contrast

On white

10.58
#2C4604 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2C4604 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4604
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4604#FFFFFF#000000##FFFFFF
##2C46041.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#463E0B
Tritanopia (blue-blind)
#2D423A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c4604;
/* rgb */ color: rgb(44, 70, 4);
/* oklch */ color: oklch(36.0% 0.093 130.0);
Tailwind
colors: {
  custom: {
    50: '#68794c',
    500: '#2c4604',
    950: '#000000',
  },
}
SCSS
$custom: #2c4604;
$custom-light: #68794c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4604",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 4
  },
  "hsl": {
    "h": 83.636,
    "s": 89.189,
    "l": 14.51
  },
  "oklch": {
    "l": 0.35951,
    "c": 0.09339,
    "h": 130
  },
  "luminance": 0.04925
}

Semantic roles & 50–950 ramp

primary
#2C4604
secondary
#481F87
accent
#29FF7D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2C4604

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

Preview Lab → · Contrast checker → · Palette generator →

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