#2C5E10#2C5E10

#2C5E10 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.1% C 0.119 H 137.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2C5E10
RGBrgb(44, 94, 16)
HSLhsl(98, 71%, 22%)
HSVhsv(98, 83%, 37%)
CMYKcmyk(53.2%, 0%, 83%, 63.1%)
CIE-LABlab(35.16, -31.50, 36.56)
CIE-LCHlch(35.16, 48.25, 130.75°)
OKLaboklab(43.06% -0.0875 0.0814)
OKLCHoklch(43.06% 0.119 137.1)
XYZxyz(5.1348, 8.5779, 1.8752)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5E10 #42105E
analogous
#535E10 #2C5E10 #105E1B
triadic
#2C5E10 #102C5E #5E102C
tetradic
#2C5E10 #10535E #42105E #5E1B10
square
#2C5E10 #10535E #42105E #5E1B10
split-complementary
#2C5E10 #1B105E #5E1053
monochromatic
#0C1A04 #142A07 #2C5E10 #449219 #5DC722

Accessibility & contrast

On white

7.73
#2C5E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2C5E10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5E10
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5E10#FFFFFF#000000##FFFFFF
##2C5E101.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#5B5119
Tritanopia (blue-blind)
#295A4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c5e10;
/* rgb */ color: rgb(44, 94, 16);
/* oklch */ color: oklch(43.1% 0.119 137.1);
Tailwind
colors: {
  custom: {
    50: '#6b8c55',
    500: '#2c5e10',
    950: '#000000',
  },
}
SCSS
$custom: #2c5e10;
$custom-light: #6b8c55;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5e10",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 16
  },
  "hsl": {
    "h": 98.462,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43056,
    "c": 0.11947,
    "h": 137.1
  },
  "luminance": 0.08578
}

Semantic roles & 50–950 ramp

primary
#2C5E10
secondary
#733397
accent
#3AEEAD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5E10

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

Preview Lab → · Contrast checker → · Palette generator →

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