#2C5A13#2C5A13

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

Color values

HEX#2C5A13
RGBrgb(44, 90, 19)
HSLhsl(99, 65%, 21%)
HSVhsv(99, 79%, 35%)
CMYKcmyk(51.1%, 0%, 78.9%, 64.7%)
CIE-LABlab(33.76, -29.52, 34.05)
CIE-LCHlch(33.76, 45.06, 130.93°)
OKLaboklab(41.91% -0.0819 0.0766)
OKLCHoklch(41.91% 0.112 136.9)
XYZxyz(4.8123, 7.8945, 1.8862)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5A13 #41135A
analogous
#505A13 #2C5A13 #135A1E
triadic
#2C5A13 #132C5A #5A132C
tetradic
#2C5A13 #13505A #41135A #5A1E13
square
#2C5A13 #13505A #41135A #5A1E13
split-complementary
#2C5A13 #1E135A #5A1350
monochromatic
#0C1905 #132708 #2C5A13 #458D1E #5DBF28

Accessibility & contrast

On white

8.14
#2C5A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C5A13
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5A13#FFFFFF#000000##FFFFFF
##2C5A131.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5206
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#29564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c5a13;
/* rgb */ color: rgb(44, 90, 19);
/* oklch */ color: oklch(41.9% 0.112 136.9);
Tailwind
colors: {
  custom: {
    50: '#6a8956',
    500: '#2c5a13',
    950: '#000000',
  },
}
SCSS
$custom: #2c5a13;
$custom-light: #6a8956;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5a13",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 19
  },
  "hsl": {
    "h": 98.873,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41914,
    "c": 0.11217,
    "h": 136.9
  },
  "luminance": 0.07895
}

Semantic roles & 50–950 ramp

primary
#2C5A13
secondary
#723792
accent
#40E8AD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5A13

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

Preview Lab → · Contrast checker → · Palette generator →

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