#2C5A11#2C5A11

#2C5A11 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 41.9% C 0.113 H 136.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2C5A11
RGBrgb(44, 90, 17)
HSLhsl(98, 68%, 21%)
HSVhsv(98, 81%, 35%)
CMYKcmyk(51.1%, 0%, 81.1%, 64.7%)
CIE-LABlab(33.75, -29.67, 34.82)
CIE-LCHlch(33.75, 45.75, 130.43°)
OKLaboklab(41.9% -0.0825 0.0779)
OKLCHoklch(41.9% 0.113 136.6)
XYZxyz(4.7959, 7.8880, 1.8000)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5A11 #3F115A
analogous
#505A11 #2C5A11 #115A1A
triadic
#2C5A11 #112C5A #5A112C
tetradic
#2C5A11 #11505A #3F115A #5A1A11
square
#2C5A11 #11505A #3F115A #5A1A11
split-complementary
#2C5A11 #1A115A #5A1150
monochromatic
#0D1A05 #132707 #2C5A11 #458D1B #5EC124

Accessibility & contrast

On white

8.15
#2C5A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2C5A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5A11
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5A11#FFFFFF#000000##FFFFFF
##2C5A111.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5203
Deuteranopia (green-blind)
#574E19
Tritanopia (blue-blind)
#2A564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c5a11;
/* rgb */ color: rgb(44, 90, 17);
/* oklch */ color: oklch(41.9% 0.113 136.6);
Tailwind
colors: {
  custom: {
    50: '#6a8955',
    500: '#2c5a11',
    950: '#000000',
  },
}
SCSS
$custom: #2c5a11;
$custom-light: #6a8955;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5a11",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 17
  },
  "hsl": {
    "h": 97.808,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41899,
    "c": 0.11347,
    "h": 136.6
  },
  "luminance": 0.07888
}

Semantic roles & 50–950 ramp

primary
#2C5A11
secondary
#703493
accent
#3DEBAB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5A11

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

Preview Lab → · Contrast checker → · Palette generator →

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