#2C4E11#2C4E11

#2C4E11 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.4% C 0.096 H 134.3°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#2C4E11
RGBrgb(44, 78, 17)
HSLhsl(93, 64%, 19%)
HSVhsv(93, 78%, 31%)
CMYKcmyk(43.6%, 0%, 78.2%, 69.4%)
CIE-LABlab(29.47, -24.08, 30.57)
CIE-LCHlch(29.47, 38.92, 128.23°)
OKLaboklab(38.39% -0.0674 0.069)
OKLCHoklch(38.39% 0.096 134.3)
XYZxyz(3.8642, 6.0245, 1.4894)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E11 #33114E
analogous
#4A4E11 #2C4E11 #114E14
triadic
#2C4E11 #112C4E #4E112C
tetradic
#2C4E11 #114A4E #33114E #4E1411
square
#2C4E11 #114A4E #33114E #4E1411
split-complementary
#2C4E11 #14114E #4E114A
monochromatic
#0E1905 #101C06 #2C4E11 #48801C #65B227

Accessibility & contrast

On white

9.52
#2C4E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4E11
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E11#FFFFFF#000000##FFFFFF
##2C4E111.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514707
Deuteranopia (green-blind)
#4D4417
Tritanopia (blue-blind)
#2C4B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c4e11;
/* rgb */ color: rgb(44, 78, 17);
/* oklch */ color: oklch(38.4% 0.096 134.3);
Tailwind
colors: {
  custom: {
    50: '#698053',
    500: '#2c4e11',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e11;
$custom-light: #698053;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e11",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 17
  },
  "hsl": {
    "h": 93.443,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38393,
    "c": 0.09647,
    "h": 134.3
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#2C4E11
secondary
#623387
accent
#41E79D
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C4E11

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

Preview Lab → · Contrast checker → · Palette generator →

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