#2C5A10#2C5A10

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

Color values

HEX#2C5A10
RGBrgb(44, 90, 16)
HSLhsl(97, 70%, 21%)
HSVhsv(97, 82%, 35%)
CMYKcmyk(51.1%, 0%, 82.2%, 64.7%)
CIE-LABlab(33.74, -29.74, 35.20)
CIE-LCHlch(33.74, 46.08, 130.20°)
OKLaboklab(41.89% -0.0827 0.0785)
OKLCHoklch(41.89% 0.114 136.5)
XYZxyz(4.7883, 7.8849, 1.7597)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5A10 #3E105A
analogous
#515A10 #2C5A10 #105A19
triadic
#2C5A10 #102C5A #5A102C
tetradic
#2C5A10 #10515A #3E105A #5A1910
square
#2C5A10 #10515A #3E105A #5A1910
split-complementary
#2C5A10 #19105A #5A1051
monochromatic
#0D1A05 #132607 #2C5A10 #458E19 #5FC222

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C5A10#FFFFFF#000000##FFFFFF
##2C5A101.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)
#5D5201
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#2A564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c5a10;
/* rgb */ color: rgb(44, 90, 16);
/* oklch */ color: oklch(41.9% 0.114 136.5);
Tailwind
colors: {
  custom: {
    50: '#6a8955',
    500: '#2c5a10',
    950: '#000000',
  },
}
SCSS
$custom: #2c5a10;
$custom-light: #6a8955;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5a10",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 97.297,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41891,
    "c": 0.11408,
    "h": 136.5
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#2C5A10
secondary
#6F3393
accent
#3BEDA9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5A10

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

Preview Lab → · Contrast checker → · Palette generator →

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