#2C4914#2C4914

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

Color values

HEX#2C4914
RGBrgb(44, 73, 20)
HSLhsl(93, 57%, 18%)
HSVhsv(93, 73%, 29%)
CMYKcmyk(39.7%, 0%, 72.6%, 71.4%)
CIE-LABlab(27.71, -21.32, 27.34)
CIE-LCHlch(27.71, 34.67, 127.95°)
OKLaboklab(36.96% -0.0596 0.0627)
OKLCHoklch(36.96% 0.087 133.5)
XYZxyz(3.5475, 5.3509, 1.5076)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4914 #311449
analogous
#464914 #2C4914 #144916
triadic
#2C4914 #142C49 #49142C
tetradic
#2C4914 #144649 #311449 #491614
square
#2C4914 #144649 #311449 #491614
split-complementary
#2C4914 #161449 #491446
monochromatic
#0E1807 #0F1907 #2C4914 #497921 #66A92E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C4914#FFFFFF#000000##FFFFFF
##2C49141.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)
#4C430D
Deuteranopia (green-blind)
#484118
Tritanopia (blue-blind)
#2C463E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c4914;
/* rgb */ color: rgb(44, 73, 20);
/* oklch */ color: oklch(37.0% 0.087 133.5);
Tailwind
colors: {
  custom: {
    50: '#687c54',
    500: '#2c4914',
    950: '#000000',
  },
}
SCSS
$custom: #2c4914;
$custom-light: #687c54;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4914",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 20
  },
  "hsl": {
    "h": 92.83,
    "s": 56.989,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36962,
    "c": 0.08652,
    "h": 133.5
  },
  "luminance": 0.05351
}

Semantic roles & 50–950 ramp

primary
#2C4914
secondary
#603881
accent
#48E09B
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2C4914

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

Preview Lab → · Contrast checker → · Palette generator →

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