#2C4E13#2C4E13

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

Color values

HEX#2C4E13
RGBrgb(44, 78, 19)
HSLhsl(95, 61%, 19%)
HSVhsv(95, 76%, 31%)
CMYKcmyk(43.6%, 0%, 75.6%, 69.4%)
CIE-LABlab(29.49, -23.91, 29.70)
CIE-LCHlch(29.49, 38.13, 128.84°)
OKLaboklab(38.41% -0.0667 0.0675)
OKLCHoklch(38.41% 0.095 134.7)
XYZxyz(3.8806, 6.0311, 1.5756)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E13 #35134E
analogous
#4A4E13 #2C4E13 #134E18
triadic
#2C4E13 #132C4E #4E132C
tetradic
#2C4E13 #134A4E #35134E #4E1813
square
#2C4E13 #134A4E #35134E #4E1813
split-complementary
#2C4E13 #18134E #4E134A
monochromatic
#0E1906 #101D07 #2C4E13 #487F1F #64B02B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C4E13#FFFFFF#000000##FFFFFF
##2C4E131.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)
#51470A
Deuteranopia (green-blind)
#4D4418
Tritanopia (blue-blind)
#2B4B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c4e13;
/* rgb */ color: rgb(44, 78, 19);
/* oklch */ color: oklch(38.4% 0.095 134.7);
Tailwind
colors: {
  custom: {
    50: '#688054',
    500: '#2c4e13',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e13;
$custom-light: #688054;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e13",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 19
  },
  "hsl": {
    "h": 94.576,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38412,
    "c": 0.09494,
    "h": 134.7
  },
  "luminance": 0.06031
}

Semantic roles & 50–950 ramp

primary
#2C4E13
secondary
#653687
accent
#44E4A0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C4E13

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

Preview Lab → · Contrast checker → · Palette generator →

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