#2C5C13#2C5C13

#2C5C13 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.5% C 0.115 H 137.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2C5C13
RGBrgb(44, 92, 19)
HSLhsl(99, 66%, 22%)
HSVhsv(99, 79%, 36%)
CMYKcmyk(52.2%, 0%, 79.3%, 63.9%)
CIE-LABlab(34.47, -30.41, 34.75)
CIE-LCHlch(34.47, 46.18, 131.19°)
OKLaboklab(42.5% -0.0843 0.0781)
OKLCHoklch(42.5% 0.115 137.2)
XYZxyz(4.9832, 8.2364, 1.9432)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5C13 #43135C
analogous
#515C13 #2C5C13 #135C1F
triadic
#2C5C13 #132C5C #5C132C
tetradic
#2C5C13 #13515C #43135C #5C1F13
square
#2C5C13 #13515C #43135C #5C1F13
split-complementary
#2C5C13 #1F135C #5C1351
monochromatic
#0C1905 #142909 #2C5C13 #448F1D #5DC128

Accessibility & contrast

On white

7.93
#2C5C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2C5C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5C13
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5C13#FFFFFF#000000##FFFFFF
##2C5C131.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5405
Deuteranopia (green-blind)
#59501A
Tritanopia (blue-blind)
#29584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c5c13;
/* rgb */ color: rgb(44, 92, 19);
/* oklch */ color: oklch(42.5% 0.115 137.2);
Tailwind
colors: {
  custom: {
    50: '#6b8a56',
    500: '#2c5c13',
    950: '#000000',
  },
}
SCSS
$custom: #2c5c13;
$custom-light: #6b8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5c13",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 19
  },
  "hsl": {
    "h": 99.452,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42497,
    "c": 0.11493,
    "h": 137.2
  },
  "luminance": 0.08237
}

Semantic roles & 50–950 ramp

primary
#2C5C13
secondary
#743794
accent
#3FE9AF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5C13

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

Preview Lab → · Contrast checker → · Palette generator →

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