#2C5219#2C5219

#2C5219 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.6% C 0.096 H 136.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2C5219
RGBrgb(44, 82, 25)
HSLhsl(100, 53%, 21%)
HSVhsv(100, 70%, 32%)
CMYKcmyk(46.3%, 0%, 69.5%, 67.8%)
CIE-LABlab(30.97, -25.26, 28.41)
CIE-LCHlch(30.97, 38.02, 131.64°)
OKLaboklab(39.64% -0.0699 0.0657)
OKLCHoklch(39.64% 0.096 136.8)
XYZxyz(4.2313, 6.6400, 1.9782)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5219 #3F1952
analogous
#485219 #2C5219 #195222
triadic
#2C5219 #192C52 #52192C
tetradic
#2C5219 #194852 #3F1952 #522219
square
#2C5219 #194852 #3F1952 #522219
split-complementary
#2C5219 #221952 #521948
monochromatic
#0D1707 #13230B #2C5219 #458127 #5EB036

Accessibility & contrast

On white

9.02
#2C5219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2C5219 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5219
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5219#FFFFFF#000000##FFFFFF
##2C52191.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B12
Deuteranopia (green-blind)
#50481E
Tritanopia (blue-blind)
#2A4F46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c5219;
/* rgb */ color: rgb(44, 82, 25);
/* oklch */ color: oklch(39.6% 0.096 136.8);
Tailwind
colors: {
  custom: {
    50: '#698358',
    500: '#2c5219',
    950: '#000000',
  },
}
SCSS
$custom: #2c5219;
$custom-light: #698358;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5219",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 25
  },
  "hsl": {
    "h": 100,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39643,
    "c": 0.09592,
    "h": 136.8
  },
  "luminance": 0.0664
}

Semantic roles & 50–950 ramp

primary
#2C5219
secondary
#703E88
accent
#4BDDAC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C5219

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

Preview Lab → · Contrast checker → · Palette generator →

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