#2C4E14#2C4E14

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

Color values

HEX#2C4E14
RGBrgb(44, 78, 20)
HSLhsl(95, 59%, 19%)
HSVhsv(95, 74%, 31%)
CMYKcmyk(43.6%, 0%, 74.4%, 69.4%)
CIE-LABlab(29.50, -23.82, 29.24)
CIE-LCHlch(29.50, 37.72, 129.17°)
OKLaboklab(38.42% -0.0664 0.0667)
OKLCHoklch(38.42% 0.094 134.9)
XYZxyz(3.8893, 6.0346, 1.6215)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E14 #36144E
analogous
#494E14 #2C4E14 #144E19
triadic
#2C4E14 #142C4E #4E142C
tetradic
#2C4E14 #14494E #36144E #4E1914
square
#2C4E14 #14494E #36144E #4E1914
split-complementary
#2C4E14 #19144E #4E1449
monochromatic
#0E1806 #111D08 #2C4E14 #477F20 #63AF2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C4E14#FFFFFF#000000##FFFFFF
##2C4E141.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)
#51470C
Deuteranopia (green-blind)
#4C4419
Tritanopia (blue-blind)
#2B4B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c4e14;
/* rgb */ color: rgb(44, 78, 20);
/* oklch */ color: oklch(38.4% 0.094 134.9);
Tailwind
colors: {
  custom: {
    50: '#688055',
    500: '#2c4e14',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e14;
$custom-light: #688055;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e14",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 20
  },
  "hsl": {
    "h": 95.172,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38422,
    "c": 0.09414,
    "h": 134.9
  },
  "luminance": 0.06035
}

Semantic roles & 50–950 ramp

primary
#2C4E14
secondary
#663886
accent
#45E2A1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C4E14

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

Preview Lab → · Contrast checker → · Palette generator →

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