#2C5B13#2C5B13

#2C5B13 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.2% C 0.114 H 137.1°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2C5B13
RGBrgb(44, 91, 19)
HSLhsl(99, 65%, 22%)
HSVhsv(99, 79%, 36%)
CMYKcmyk(51.6%, 0%, 79.1%, 64.3%)
CIE-LABlab(34.12, -29.96, 34.40)
CIE-LCHlch(34.12, 45.62, 131.06°)
OKLaboklab(42.21% -0.0831 0.0774)
OKLCHoklch(42.21% 0.114 137.1)
XYZxyz(4.8972, 8.0643, 1.9145)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5B13 #42135B
analogous
#505B13 #2C5B13 #135B1E
triadic
#2C5B13 #132C5B #5B132C
tetradic
#2C5B13 #13505B #42135B #5B1E13
square
#2C5B13 #13505B #42135B #5B1E13
split-complementary
#2C5B13 #1E135B #5B1350
monochromatic
#0C1905 #142808 #2C5B13 #448E1E #5DC028

Accessibility & contrast

On white

8.04
#2C5B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2C5B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5B13
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5B13#FFFFFF#000000##FFFFFF
##2C5B131.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5306
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#29574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c5b13;
/* rgb */ color: rgb(44, 91, 19);
/* oklch */ color: oklch(42.2% 0.114 137.1);
Tailwind
colors: {
  custom: {
    50: '#6a8a56',
    500: '#2c5b13',
    950: '#000000',
  },
}
SCSS
$custom: #2c5b13;
$custom-light: #6a8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5b13",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 19
  },
  "hsl": {
    "h": 99.167,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42206,
    "c": 0.11356,
    "h": 137.1
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#2C5B13
secondary
#733793
accent
#3FE8AE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5B13

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

Preview Lab → · Contrast checker → · Palette generator →

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