#2C5E0D#2C5E0D

#2C5E0D is a dark, vivid yellow-green. Relative luminance 0.086; OKLCH L 43.0% C 0.121 H 136.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2C5E0D
RGBrgb(44, 94, 13)
HSLhsl(97, 76%, 21%)
HSVhsv(97, 86%, 37%)
CMYKcmyk(53.2%, 0%, 86.2%, 63.1%)
CIE-LABlab(35.14, -31.68, 37.56)
CIE-LCHlch(35.14, 49.13, 130.15°)
OKLaboklab(43.04% -0.0882 0.083)
OKLCHoklch(43.04% 0.121 136.7)
XYZxyz(5.1139, 8.5696, 1.7653)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5E0D #3F0D5E
analogous
#545E0D #2C5E0D #0D5E16
triadic
#2C5E0D #0D2C5E #5E0D2C
tetradic
#2C5E0D #0D545E #3F0D5E #5E160D
square
#2C5E0D #0D545E #3F0D5E #5E160D
split-complementary
#2C5E0D #160D5E #5E0D54
monochromatic
#0D1B04 #132806 #2C5E0D #459414 #5ECA1C

Accessibility & contrast

On white

7.74
#2C5E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2C5E0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5E0D
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5E0D#FFFFFF#000000##FFFFFF
##2C5E0D1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c5e0d;
/* rgb */ color: rgb(44, 94, 13);
/* oklch */ color: oklch(43.0% 0.121 136.7);
Tailwind
colors: {
  custom: {
    50: '#6b8c54',
    500: '#2c5e0d',
    950: '#000000',
  },
}
SCSS
$custom: #2c5e0d;
$custom-light: #6b8c54;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5e0d",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 13
  },
  "hsl": {
    "h": 97.037,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43037,
    "c": 0.12107,
    "h": 136.7
  },
  "luminance": 0.0857
}

Semantic roles & 50–950 ramp

primary
#2C5E0D
secondary
#702F98
accent
#36F2AA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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