#2C4E23#2C4E23

#2C4E23 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.6% C 0.079 H 139.4°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2C4E23
RGBrgb(44, 78, 35)
HSLhsl(107, 38%, 22%)
HSVhsv(107, 55%, 31%)
CMYKcmyk(43.6%, 0%, 55.1%, 69.4%)
CIE-LABlab(29.68, -22.01, 21.50)
CIE-LCHlch(29.68, 30.77, 135.67°)
OKLaboklab(38.62% -0.0603 0.0517)
OKLCHoklch(38.62% 0.079 139.4)
XYZxyz(4.0663, 6.1054, 2.5540)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E23 #45234E
analogous
#424E23 #2C4E23 #234E30
triadic
#2C4E23 #232C4E #4E232C
tetradic
#2C4E23 #23424E #45234E #4E3023
square
#2C4E23 #23424E #45234E #4E3023
split-complementary
#2C4E23 #30234E #4E2342
monochromatic
#0C1509 #142410 #2C4E23 #447836 #5CA249

Accessibility & contrast

On white

9.45
#2C4E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2C4E23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E23
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E23#FFFFFF#000000##FFFFFF
##2C4E231.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50481F
Deuteranopia (green-blind)
#4B4526
Tritanopia (blue-blind)
#2A4C44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c4e23;
/* rgb */ color: rgb(44, 78, 35);
/* oklch */ color: oklch(38.6% 0.079 139.4);
Tailwind
colors: {
  custom: {
    50: '#67805f',
    500: '#2c4e23',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e23;
$custom-light: #67805f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e23",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 35
  },
  "hsl": {
    "h": 107.442,
    "s": 38.053,
    "l": 22.157
  },
  "oklch": {
    "l": 0.38624,
    "c": 0.07944,
    "h": 139.4
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#2C4E23
secondary
#764B82
accent
#5ACEB6
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2C4E23

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

Preview Lab → · Contrast checker → · Palette generator →

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