#2C4703#2C4703

#2C4703 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.095 H 130.3°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#2C4703
RGBrgb(44, 71, 3)
HSLhsl(84, 92%, 15%)
HSVhsv(84, 96%, 28%)
CMYKcmyk(38%, 0%, 95.8%, 72.2%)
CIE-LABlab(26.87, -21.54, 33.65)
CIE-LCHlch(26.87, 39.96, 122.62°)
OKLaboklab(36.24% -0.0617 0.0728)
OKLCHoklch(36.24% 0.095 130.3)
XYZxyz(3.3084, 5.0484, 0.8863)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4703 #1E0347
analogous
#474003 #2C4703 #0A4703
triadic
#2C4703 #032C47 #47032C
tetradic
#2C4703 #034740 #1E0347 #47030A
square
#2C4703 #034740 #1E0347 #47030A
split-complementary
#2C4703 #030A47 #400347
monochromatic
#121D01 #121D01 #2C4703 #508205 #75BC08

Accessibility & contrast

On white

10.45
#2C4703 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4703
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4703#FFFFFF#000000##FFFFFF
##2C47031.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#473F0B
Tritanopia (blue-blind)
#2D433B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c4703;
/* rgb */ color: rgb(44, 71, 3);
/* oklch */ color: oklch(36.2% 0.095 130.3);
Tailwind
colors: {
  custom: {
    50: '#697a4b',
    500: '#2c4703',
    950: '#000000',
  },
}
SCSS
$custom: #2c4703;
$custom-light: #697a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4703",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 3
  },
  "hsl": {
    "h": 83.824,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.36238,
    "c": 0.09541,
    "h": 130.3
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

primary
#2C4703
secondary
#481E88
accent
#29FF7E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2C4703

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

Preview Lab → · Contrast checker → · Palette generator →

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