#2C5913#2C5913

#2C5913 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.6% C 0.111 H 136.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2C5913
RGBrgb(44, 89, 19)
HSLhsl(99, 65%, 21%)
HSVhsv(99, 79%, 35%)
CMYKcmyk(50.6%, 0%, 78.7%, 65.1%)
CIE-LABlab(33.41, -29.07, 33.69)
CIE-LCHlch(33.41, 44.50, 130.79°)
OKLaboklab(41.62% -0.0807 0.0759)
OKLCHoklch(41.62% 0.111 136.8)
XYZxyz(4.7285, 7.7269, 1.8583)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5913 #401359
analogous
#4F5913 #2C5913 #13591D
triadic
#2C5913 #132C59 #59132C
tetradic
#2C5913 #134F59 #401359 #591D13
square
#2C5913 #134F59 #401359 #591D13
split-complementary
#2C5913 #1D1359 #59134F
monochromatic
#0C1905 #132708 #2C5913 #458B1E #5EBE29

Accessibility & contrast

On white

8.25
#2C5913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2C5913 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5913
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5913#FFFFFF#000000##FFFFFF
##2C59131.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5106
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#2A564B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c5913;
/* rgb */ color: rgb(44, 89, 19);
/* oklch */ color: oklch(41.6% 0.111 136.8);
Tailwind
colors: {
  custom: {
    50: '#6a8856',
    500: '#2c5913',
    950: '#000000',
  },
}
SCSS
$custom: #2c5913;
$custom-light: #6a8856;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5913",
  "rgb": {
    "r": 44,
    "g": 89,
    "b": 19
  },
  "hsl": {
    "h": 98.571,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41623,
    "c": 0.11079,
    "h": 136.8
  },
  "luminance": 0.07727
}

Semantic roles & 50–950 ramp

primary
#2C5913
secondary
#713791
accent
#40E8AC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5913

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

Preview Lab → · Contrast checker → · Palette generator →

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