#2C5910#2C5910

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

Color values

HEX#2C5910
RGBrgb(44, 89, 16)
HSLhsl(97, 70%, 21%)
HSVhsv(97, 82%, 35%)
CMYKcmyk(50.6%, 0%, 82%, 65.1%)
CIE-LABlab(33.39, -29.29, 34.85)
CIE-LCHlch(33.39, 45.53, 130.05°)
OKLaboklab(41.6% -0.0815 0.0778)
OKLCHoklch(41.6% 0.113 136.3)
XYZxyz(4.7045, 7.7173, 1.7318)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5910 #3D1059
analogous
#505910 #2C5910 #105918
triadic
#2C5910 #102C59 #59102C
tetradic
#2C5910 #105059 #3D1059 #591810
square
#2C5910 #105059 #3D1059 #591810
split-complementary
#2C5910 #181059 #591050
monochromatic
#0D1A05 #122507 #2C5910 #468D19 #5FC123

Accessibility & contrast

On white

8.26
#2C5910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2C5910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5910
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5910#FFFFFF#000000##FFFFFF
##2C59101.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5102
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#2A554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c5910;
/* rgb */ color: rgb(44, 89, 16);
/* oklch */ color: oklch(41.6% 0.113 136.3);
Tailwind
colors: {
  custom: {
    50: '#6a8854',
    500: '#2c5910',
    950: '#000000',
  },
}
SCSS
$custom: #2c5910;
$custom-light: #6a8854;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5910",
  "rgb": {
    "r": 44,
    "g": 89,
    "b": 16
  },
  "hsl": {
    "h": 96.986,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.416,
    "c": 0.11272,
    "h": 136.3
  },
  "luminance": 0.07718
}

Semantic roles & 50–950 ramp

primary
#2C5910
secondary
#6E3392
accent
#3BECA8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5910

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

Preview Lab → · Contrast checker → · Palette generator →

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