#2C5C10#2C5C10

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

Color values

HEX#2C5C10
RGBrgb(44, 92, 16)
HSLhsl(98, 70%, 21%)
HSVhsv(98, 83%, 36%)
CMYKcmyk(52.2%, 0%, 82.6%, 63.9%)
CIE-LABlab(34.45, -30.62, 35.88)
CIE-LCHlch(34.45, 47.17, 130.48°)
OKLaboklab(42.47% -0.0851 0.08)
OKLCHoklch(42.47% 0.117 136.8)
XYZxyz(4.9592, 8.2268, 1.8167)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5C10 #40105C
analogous
#525C10 #2C5C10 #105C1A
triadic
#2C5C10 #102C5C #5C102C
tetradic
#2C5C10 #10525C #40105C #5C1A10
square
#2C5C10 #10525C #40105C #5C1A10
split-complementary
#2C5C10 #1A105C #5C1052
monochromatic
#0C1A05 #132807 #2C5C10 #459019 #5EC422

Accessibility & contrast

On white

7.94
#2C5C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C5C10
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5C10#FFFFFF#000000##FFFFFF
##2C5C101.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5301
Deuteranopia (green-blind)
#595018
Tritanopia (blue-blind)
#29584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c5c10;
/* rgb */ color: rgb(44, 92, 16);
/* oklch */ color: oklch(42.5% 0.117 136.8);
Tailwind
colors: {
  custom: {
    50: '#6b8a55',
    500: '#2c5c10',
    950: '#000000',
  },
}
SCSS
$custom: #2c5c10;
$custom-light: #6b8a55;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5c10",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 16
  },
  "hsl": {
    "h": 97.895,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42474,
    "c": 0.11679,
    "h": 136.8
  },
  "luminance": 0.08227
}

Semantic roles & 50–950 ramp

primary
#2C5C10
secondary
#713395
accent
#3BEDAB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5C10

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

Preview Lab → · Contrast checker → · Palette generator →

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