#2C5D13#2C5D13

#2C5D13 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 42.8% C 0.116 H 137.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#2C5D13
RGBrgb(44, 93, 19)
HSLhsl(100, 66%, 22%)
HSVhsv(100, 80%, 36%)
CMYKcmyk(52.7%, 0%, 79.6%, 63.5%)
CIE-LABlab(34.82, -30.85, 35.10)
CIE-LCHlch(34.82, 46.73, 131.31°)
OKLaboklab(42.79% -0.0855 0.0788)
OKLCHoklch(42.79% 0.116 137.3)
XYZxyz(5.0704, 8.4108, 1.9722)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5D13 #44135D
analogous
#515D13 #2C5D13 #135D1F
triadic
#2C5D13 #132C5D #5D132C
tetradic
#2C5D13 #13515D #44135D #5D1F13
square
#2C5D13 #13515D #44135D #5D1F13
split-complementary
#2C5D13 #1F135D #5D1351
monochromatic
#0C1905 #142A09 #2C5D13 #44901D #5CC328

Accessibility & contrast

On white

7.83
#2C5D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2C5D13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5D13
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5D13#FFFFFF#000000##FFFFFF
##2C5D131.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605405
Deuteranopia (green-blind)
#5A501B
Tritanopia (blue-blind)
#29594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c5d13;
/* rgb */ color: rgb(44, 93, 19);
/* oklch */ color: oklch(42.8% 0.116 137.3);
Tailwind
colors: {
  custom: {
    50: '#6b8b57',
    500: '#2c5d13',
    950: '#000000',
  },
}
SCSS
$custom: #2c5d13;
$custom-light: #6b8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5d13",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 19
  },
  "hsl": {
    "h": 99.73,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42787,
    "c": 0.1163,
    "h": 137.3
  },
  "luminance": 0.08411
}

Semantic roles & 50–950 ramp

primary
#2C5D13
secondary
#753795
accent
#3FE9B0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5D13

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

Preview Lab → · Contrast checker → · Palette generator →

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