#2C4A09#2C4A09

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

Color values

HEX#2C4A09
RGBrgb(44, 74, 9)
HSLhsl(88, 78%, 16%)
HSVhsv(88, 88%, 29%)
CMYKcmyk(40.5%, 0%, 87.8%, 71%)
CIE-LABlab(27.99, -22.67, 32.29)
CIE-LCHlch(27.99, 39.45, 125.08°)
OKLaboklab(37.16% -0.0642 0.0712)
OKLCHoklch(37.16% 0.096 132)
XYZxyz(3.5368, 5.4526, 1.1245)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4A09 #27094A
analogous
#4A4809 #2C4A09 #0C4A09
triadic
#2C4A09 #092C4A #4A092C
tetradic
#2C4A09 #094A48 #27094A #4A090C
square
#2C4A09 #094A48 #27094A #4A090C
split-complementary
#2C4A09 #090C4A #48094A
monochromatic
#101B03 #101B03 #2C4A09 #4C8110 #6DB716

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C4A09#FFFFFF#000000##FFFFFF
##2C4A091.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)
#4E4400
Deuteranopia (green-blind)
#4A4110
Tritanopia (blue-blind)
#2D473E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c4a09;
/* rgb */ color: rgb(44, 74, 9);
/* oklch */ color: oklch(37.2% 0.096 132.0);
Tailwind
colors: {
  custom: {
    50: '#697c4f',
    500: '#2c4a09',
    950: '#000000',
  },
}
SCSS
$custom: #2c4a09;
$custom-light: #697c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4a09",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 9
  },
  "hsl": {
    "h": 87.692,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.3716,
    "c": 0.09591,
    "h": 132
  },
  "luminance": 0.05453
}

Semantic roles & 50–950 ramp

primary
#2C4A09
secondary
#542787
accent
#33F58C
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C4A09

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

Preview Lab → · Contrast checker → · Palette generator →

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