#2C4A0D#2C4A0D

#2C4A0D is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.2% C 0.093 H 132.6°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#2C4A0D
RGBrgb(44, 74, 13)
HSLhsl(90, 70%, 17%)
HSVhsv(90, 82%, 29%)
CMYKcmyk(40.5%, 0%, 82.4%, 71%)
CIE-LABlab(28.01, -22.41, 30.80)
CIE-LCHlch(28.01, 38.09, 126.05°)
OKLaboklab(37.19% -0.0632 0.0688)
OKLCHoklch(37.19% 0.093 132.6)
XYZxyz(3.5601, 5.4619, 1.2474)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4A0D #2B0D4A
analogous
#4A4A0D #2C4A0D #0E4A0D
triadic
#2C4A0D #0D2C4A #4A0D2C
tetradic
#2C4A0D #0D4A4A #2B0D4A #4A0D0E
square
#2C4A0D #0D4A4A #2B0D4A #4A0D0E
split-complementary
#2C4A0D #0D0E4A #4A0D4A
monochromatic
#0F1A05 #0F1A05 #2C4A0D #4B7E16 #6AB21F

Accessibility & contrast

On white

10.04
#2C4A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2C4A0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4A0D
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4A0D#FFFFFF#000000##FFFFFF
##2C4A0D1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4403
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#2C473E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c4a0d;
/* rgb */ color: rgb(44, 74, 13);
/* oklch */ color: oklch(37.2% 0.093 132.6);
Tailwind
colors: {
  custom: {
    50: '#687d51',
    500: '#2c4a0d',
    950: '#000000',
  },
}
SCSS
$custom: #2c4a0d;
$custom-light: #687d51;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4a0d",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 13
  },
  "hsl": {
    "h": 89.508,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37189,
    "c": 0.09344,
    "h": 132.6
  },
  "luminance": 0.05462
}

Semantic roles & 50–950 ramp

primary
#2C4A0D
secondary
#592E85
accent
#3BED92
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C4A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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