#2C4918#2C4918

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

Color values

HEX#2C4918
RGBrgb(44, 73, 24)
HSLhsl(96, 51%, 19%)
HSVhsv(96, 67%, 29%)
CMYKcmyk(39.7%, 0%, 67.1%, 71.4%)
CIE-LABlab(27.75, -20.90, 25.34)
CIE-LCHlch(27.75, 32.85, 129.51°)
OKLaboklab(37.01% -0.0581 0.059)
OKLCHoklch(37.01% 0.083 134.5)
XYZxyz(3.5860, 5.3663, 1.7108)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4918 #351849
analogous
#454918 #2C4918 #18491D
triadic
#2C4918 #182C49 #49182C
tetradic
#2C4918 #184549 #351849 #491D18
square
#2C4918 #184549 #351849 #491D18
split-complementary
#2C4918 #1D1849 #491845
monochromatic
#0E1708 #101B09 #2C4918 #487727 #64A536

Accessibility & contrast

On white

10.13
#2C4918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4918
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4918#FFFFFF#000000##FFFFFF
##2C49181.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4313
Deuteranopia (green-blind)
#48411C
Tritanopia (blue-blind)
#2C463F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c4918;
/* rgb */ color: rgb(44, 73, 24);
/* oklch */ color: oklch(37.0% 0.083 134.5);
Tailwind
colors: {
  custom: {
    50: '#677c57',
    500: '#2c4918',
    950: '#000000',
  },
}
SCSS
$custom: #2c4918;
$custom-light: #677c57;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4918",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 24
  },
  "hsl": {
    "h": 95.51,
    "s": 50.515,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3701,
    "c": 0.08281,
    "h": 134.5
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#2C4918
secondary
#653D80
accent
#4EDAA1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2C4918

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

Preview Lab → · Contrast checker → · Palette generator →

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