#2C4919#2C4919

#2C4919 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.0% C 0.082 H 134.8°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#2C4919
RGBrgb(44, 73, 25)
HSLhsl(96, 49%, 19%)
HSVhsv(96, 66%, 29%)
CMYKcmyk(39.7%, 0%, 65.8%, 71.4%)
CIE-LABlab(27.77, -20.78, 24.83)
CIE-LCHlch(27.77, 32.38, 129.93°)
OKLaboklab(37.02% -0.0577 0.058)
OKLCHoklch(37.02% 0.082 134.8)
XYZxyz(3.5966, 5.3706, 1.7666)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4919 #361949
analogous
#444919 #2C4919 #19491E
triadic
#2C4919 #192C49 #49192C
tetradic
#2C4919 #194449 #361949 #491E19
square
#2C4919 #194449 #361949 #491E19
split-complementary
#2C4919 #1E1949 #491944
monochromatic
#0E1708 #111B09 #2C4919 #477729 #63A438

Accessibility & contrast

On white

10.12
#2C4919 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2C4919 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4919
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4919#FFFFFF#000000##FFFFFF
##2C49191.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4314
Deuteranopia (green-blind)
#48411D
Tritanopia (blue-blind)
#2C463F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c4919;
/* rgb */ color: rgb(44, 73, 25);
/* oklch */ color: oklch(37.0% 0.082 134.8);
Tailwind
colors: {
  custom: {
    50: '#677c58',
    500: '#2c4919',
    950: '#000000',
  },
}
SCSS
$custom: #2c4919;
$custom-light: #677c58;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4919",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 25
  },
  "hsl": {
    "h": 96.25,
    "s": 48.98,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37023,
    "c": 0.08182,
    "h": 134.8
  },
  "luminance": 0.05371
}

Semantic roles & 50–950 ramp

primary
#2C4919
secondary
#663E7F
accent
#4FD9A2
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2C4919

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

Preview Lab → · Contrast checker → · Palette generator →

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