#2C5F16#2C5F16

#2C5F16 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.4% C 0.117 H 138.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2C5F16
RGBrgb(44, 95, 22)
HSLhsl(102, 62%, 23%)
HSVhsv(102, 77%, 37%)
CMYKcmyk(53.7%, 0%, 76.8%, 62.7%)
CIE-LABlab(35.55, -31.48, 34.62)
CIE-LCHlch(35.55, 46.79, 132.28°)
OKLaboklab(43.39% -0.087 0.0783)
OKLCHoklch(43.39% 0.117 138)
XYZxyz(5.2756, 8.7774, 2.1751)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5F16 #49165F
analogous
#505F16 #2C5F16 #165F25
triadic
#2C5F16 #162C5F #5F162C
tetradic
#2C5F16 #16505F #49165F #5F2516
square
#2C5F16 #16505F #49165F #5F2516
split-complementary
#2C5F16 #25165F #5F1650
monochromatic
#0C1906 #152D0A #2C5F16 #439122 #5AC22D

Accessibility & contrast

On white

7.62
#2C5F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2C5F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5F16
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5F16#FFFFFF#000000##FFFFFF
##2C5F161.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625609
Deuteranopia (green-blind)
#5C521D
Tritanopia (blue-blind)
#285B51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c5f16;
/* rgb */ color: rgb(44, 95, 22);
/* oklch */ color: oklch(43.4% 0.117 138.0);
Tailwind
colors: {
  custom: {
    50: '#6b8d58',
    500: '#2c5f16',
    950: '#000000',
  },
}
SCSS
$custom: #2c5f16;
$custom-light: #6b8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5f16",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 101.918,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43393,
    "c": 0.11703,
    "h": 138
  },
  "luminance": 0.08778
}

Semantic roles & 50–950 ramp

primary
#2C5F16
secondary
#7B3B96
accent
#42E5B4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2C5F16

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

Preview Lab → · Contrast checker → · Palette generator →

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