#2C4915#2C4915

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

Color values

HEX#2C4915
RGBrgb(44, 73, 21)
HSLhsl(93, 55%, 18%)
HSVhsv(93, 71%, 29%)
CMYKcmyk(39.7%, 0%, 71.2%, 71.4%)
CIE-LABlab(27.72, -21.22, 26.85)
CIE-LCHlch(27.72, 34.23, 128.32°)
OKLaboklab(36.97% -0.0592 0.0618)
OKLCHoklch(36.97% 0.086 133.8)
XYZxyz(3.5565, 5.3545, 1.5555)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4915 #321549
analogous
#464915 #2C4915 #154918
triadic
#2C4915 #152C49 #49152C
tetradic
#2C4915 #154649 #321549 #491815
square
#2C4915 #154649 #321549 #491815
split-complementary
#2C4915 #181549 #491546
monochromatic
#0E1807 #0F1907 #2C4915 #497923 #65A830

Accessibility & contrast

On white

10.14
#2C4915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4915
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4915#FFFFFF#000000##FFFFFF
##2C49151.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430F
Deuteranopia (green-blind)
#484119
Tritanopia (blue-blind)
#2C463E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c4915;
/* rgb */ color: rgb(44, 73, 21);
/* oklch */ color: oklch(37.0% 0.086 133.8);
Tailwind
colors: {
  custom: {
    50: '#687c55',
    500: '#2c4915',
    950: '#000000',
  },
}
SCSS
$custom: #2c4915;
$custom-light: #687c55;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4915",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 21
  },
  "hsl": {
    "h": 93.462,
    "s": 55.319,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36973,
    "c": 0.08563,
    "h": 133.8
  },
  "luminance": 0.05355
}

Semantic roles & 50–950 ramp

primary
#2C4915
secondary
#613981
accent
#49DF9D
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2C4915

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

Preview Lab → · Contrast checker → · Palette generator →

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