#2C4C09#2C4C09

#2C4C09 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.7% C 0.099 H 132.6°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#2C4C09
RGBrgb(44, 76, 9)
HSLhsl(89, 79%, 17%)
HSVhsv(89, 88%, 30%)
CMYKcmyk(42.1%, 0%, 88.2%, 70.2%)
CIE-LABlab(28.70, -23.66, 32.95)
CIE-LCHlch(28.70, 40.56, 125.68°)
OKLaboklab(37.75% -0.0669 0.0726)
OKLCHoklch(37.75% 0.099 132.6)
XYZxyz(3.6724, 5.7239, 1.1697)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4C09 #29094C
analogous
#4C4B09 #2C4C09 #0A4C09
triadic
#2C4C09 #092C4C #4C092C
tetradic
#2C4C09 #094C4B #29094C #4C090A
square
#2C4C09 #094C4B #29094C #4C090A
split-complementary
#2C4C09 #090A4C #4B094C
monochromatic
#101B03 #101B03 #2C4C09 #4C830F #6BB916

Accessibility & contrast

On white

9.79
#2C4C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2C4C09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4C09
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4C09#FFFFFF#000000##FFFFFF
##2C4C091.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504500
Deuteranopia (green-blind)
#4B4311
Tritanopia (blue-blind)
#2C4840
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c4c09;
/* rgb */ color: rgb(44, 76, 9);
/* oklch */ color: oklch(37.7% 0.099 132.6);
Tailwind
colors: {
  custom: {
    50: '#697e4f',
    500: '#2c4c09',
    950: '#000000',
  },
}
SCSS
$custom: #2c4c09;
$custom-light: #697e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4c09",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 9
  },
  "hsl": {
    "h": 88.657,
    "s": 78.824,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37747,
    "c": 0.09872,
    "h": 132.6
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#2C4C09
secondary
#562889
accent
#33F590
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2C4C09

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

Preview Lab → · Contrast checker → · Palette generator →

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