#2C4E18#2C4E18

#2C4E18 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.5% C 0.091 H 135.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2C4E18
RGBrgb(44, 78, 24)
HSLhsl(98, 53%, 20%)
HSVhsv(98, 69%, 31%)
CMYKcmyk(43.6%, 0%, 69.2%, 69.4%)
CIE-LABlab(29.54, -23.42, 27.33)
CIE-LCHlch(29.54, 35.99, 130.59°)
OKLaboklab(38.47% -0.065 0.0633)
OKLCHoklch(38.47% 0.091 135.8)
XYZxyz(3.9279, 6.0500, 1.8248)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E18 #3A184E
analogous
#474E18 #2C4E18 #184E1F
triadic
#2C4E18 #182C4E #4E182C
tetradic
#2C4E18 #18474E #3A184E #4E1F18
square
#2C4E18 #18474E #3A184E #4E1F18
split-complementary
#2C4E18 #1F184E #4E1847
monochromatic
#0D1707 #121F0A #2C4E18 #467D26 #61AC35

Accessibility & contrast

On white

9.50
#2C4E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4E18
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E18#FFFFFF#000000##FFFFFF
##2C4E181.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514712
Deuteranopia (green-blind)
#4C451C
Tritanopia (blue-blind)
#2B4B43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c4e18;
/* rgb */ color: rgb(44, 78, 24);
/* oklch */ color: oklch(38.5% 0.091 135.8);
Tailwind
colors: {
  custom: {
    50: '#688057',
    500: '#2c4e18',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e18;
$custom-light: #688057;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e18",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 97.778,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.38466,
    "c": 0.09068,
    "h": 135.8
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#2C4E18
secondary
#6A3D85
accent
#4BDCA7
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C4E18

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

Preview Lab → · Contrast checker → · Palette generator →

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