#2C4A18#2C4A18

#2C4A18 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.3% C 0.084 H 134.8°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#2C4A18
RGBrgb(44, 74, 24)
HSLhsl(96, 51%, 19%)
HSVhsv(96, 68%, 29%)
CMYKcmyk(40.5%, 0%, 67.6%, 71%)
CIE-LABlab(28.11, -21.41, 25.75)
CIE-LCHlch(28.11, 33.48, 129.75°)
OKLaboklab(37.3% -0.0595 0.0599)
OKLCHoklch(37.3% 0.084 134.8)
XYZxyz(3.6523, 5.4988, 1.7329)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4A18 #36184A
analogous
#454A18 #2C4A18 #184A1D
triadic
#2C4A18 #182C4A #4A182C
tetradic
#2C4A18 #18454A #36184A #4A1D18
square
#2C4A18 #18454A #36184A #4A1D18
split-complementary
#2C4A18 #1D184A #4A1845
monochromatic
#0E1707 #111C09 #2C4A18 #477827 #63A636

Accessibility & contrast

On white

10.00
#2C4A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2C4A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4A18
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4A18#FFFFFF#000000##FFFFFF
##2C4A181.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4412
Deuteranopia (green-blind)
#49411C
Tritanopia (blue-blind)
#2C473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c4a18;
/* rgb */ color: rgb(44, 74, 24);
/* oklch */ color: oklch(37.3% 0.084 134.8);
Tailwind
colors: {
  custom: {
    50: '#687d57',
    500: '#2c4a18',
    950: '#000000',
  },
}
SCSS
$custom: #2c4a18;
$custom-light: #687d57;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4a18",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 24
  },
  "hsl": {
    "h": 96,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37301,
    "c": 0.0844,
    "h": 134.8
  },
  "luminance": 0.05499
}

Semantic roles & 50–950 ramp

primary
#2C4A18
secondary
#663D81
accent
#4DDAA2
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2C4A18

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

Preview Lab → · Contrast checker → · Palette generator →

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