#2C4E19#2C4E19

#2C4E19 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.5% C 0.090 H 136.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2C4E19
RGBrgb(44, 78, 25)
HSLhsl(98, 51%, 20%)
HSVhsv(98, 68%, 31%)
CMYKcmyk(43.6%, 0%, 67.9%, 69.4%)
CIE-LABlab(29.55, -23.31, 26.83)
CIE-LCHlch(29.55, 35.54, 130.98°)
OKLaboklab(38.48% -0.0646 0.0623)
OKLCHoklch(38.48% 0.09 136)
XYZxyz(3.9385, 6.0542, 1.8806)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E19 #3B194E
analogous
#464E19 #2C4E19 #194E21
triadic
#2C4E19 #192C4E #4E192C
tetradic
#2C4E19 #19464E #3B194E #4E2119
square
#2C4E19 #19464E #3B194E #4E2119
split-complementary
#2C4E19 #21194E #4E1946
monochromatic
#0D1707 #12200A #2C4E19 #467C28 #60AB37

Accessibility & contrast

On white

9.50
#2C4E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2C4E19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E19
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E19#FFFFFF#000000##FFFFFF
##2C4E191.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514713
Deuteranopia (green-blind)
#4C451D
Tritanopia (blue-blind)
#2B4B43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c4e19;
/* rgb */ color: rgb(44, 78, 25);
/* oklch */ color: oklch(38.5% 0.090 136.0);
Tailwind
colors: {
  custom: {
    50: '#688058',
    500: '#2c4e19',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e19;
$custom-light: #688058;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e19",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 25
  },
  "hsl": {
    "h": 98.491,
    "s": 51.456,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38478,
    "c": 0.08976,
    "h": 136
  },
  "luminance": 0.06054
}

Semantic roles & 50–950 ramp

primary
#2C4E19
secondary
#6B3E84
accent
#4DDBA8
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C4E19

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

Preview Lab → · Contrast checker → · Palette generator →

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