#2C5D10#2C5D10

#2C5D10 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 42.8% C 0.118 H 136.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#2C5D10
RGBrgb(44, 93, 16)
HSLhsl(98, 71%, 21%)
HSVhsv(98, 83%, 36%)
CMYKcmyk(52.7%, 0%, 82.8%, 63.5%)
CIE-LABlab(34.80, -31.06, 36.22)
CIE-LCHlch(34.80, 47.71, 130.62°)
OKLaboklab(42.77% -0.0863 0.0807)
OKLCHoklch(42.77% 0.118 136.9)
XYZxyz(5.0464, 8.4012, 1.8458)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5D10 #41105D
analogous
#535D10 #2C5D10 #105D1B
triadic
#2C5D10 #102C5D #5D102C
tetradic
#2C5D10 #10535D #41105D #5D1B10
square
#2C5D10 #10535D #41105D #5D1B10
split-complementary
#2C5D10 #1B105D #5D1053
monochromatic
#0C1A04 #132907 #2C5D10 #459119 #5DC522

Accessibility & contrast

On white

7.83
#2C5D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2C5D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5D10
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5D10#FFFFFF#000000##FFFFFF
##2C5D101.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#5A5018
Tritanopia (blue-blind)
#29594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c5d10;
/* rgb */ color: rgb(44, 93, 16);
/* oklch */ color: oklch(42.8% 0.118 136.9);
Tailwind
colors: {
  custom: {
    50: '#6b8b55',
    500: '#2c5d10',
    950: '#000000',
  },
}
SCSS
$custom: #2c5d10;
$custom-light: #6b8b55;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5d10",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 16
  },
  "hsl": {
    "h": 98.182,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42765,
    "c": 0.11813,
    "h": 136.9
  },
  "luminance": 0.08402
}

Semantic roles & 50–950 ramp

primary
#2C5D10
secondary
#723396
accent
#3AEDAC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5D10

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

Preview Lab → · Contrast checker → · Palette generator →

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