#2C5B10#2C5B10

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

Color values

HEX#2C5B10
RGBrgb(44, 91, 16)
HSLhsl(98, 70%, 21%)
HSVhsv(98, 82%, 36%)
CMYKcmyk(51.6%, 0%, 82.4%, 64.3%)
CIE-LABlab(34.10, -30.18, 35.54)
CIE-LCHlch(34.10, 46.63, 130.34°)
OKLaboklab(42.18% -0.0839 0.0793)
OKLCHoklch(42.18% 0.115 136.6)
XYZxyz(4.8732, 8.0547, 1.7880)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5B10 #3F105B
analogous
#515B10 #2C5B10 #105B19
triadic
#2C5B10 #102C5B #5B102C
tetradic
#2C5B10 #10515B #3F105B #5B1910
square
#2C5B10 #10515B #3F105B #5B1910
split-complementary
#2C5B10 #19105B #5B1051
monochromatic
#0D1A05 #132707 #2C5B10 #458F19 #5EC322

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C5B10#FFFFFF#000000##FFFFFF
##2C5B101.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)
#5E5301
Deuteranopia (green-blind)
#584F18
Tritanopia (blue-blind)
#2A574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c5b10;
/* rgb */ color: rgb(44, 91, 16);
/* oklch */ color: oklch(42.2% 0.115 136.6);
Tailwind
colors: {
  custom: {
    50: '#6b8a55',
    500: '#2c5b10',
    950: '#000000',
  },
}
SCSS
$custom: #2c5b10;
$custom-light: #6b8a55;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5b10",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 16
  },
  "hsl": {
    "h": 97.6,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42183,
    "c": 0.11543,
    "h": 136.6
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

primary
#2C5B10
secondary
#703394
accent
#3BEDAA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5B10

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

Preview Lab → · Contrast checker → · Palette generator →

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