#2C5E0E#2C5E0E

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

Color values

HEX#2C5E0E
RGBrgb(44, 94, 14)
HSLhsl(98, 74%, 21%)
HSVhsv(98, 85%, 37%)
CMYKcmyk(53.2%, 0%, 85.1%, 63.1%)
CIE-LABlab(35.15, -31.62, 37.23)
CIE-LCHlch(35.15, 48.85, 130.34°)
OKLaboklab(43.04% -0.0879 0.0825)
OKLCHoklch(43.04% 0.121 136.8)
XYZxyz(5.1205, 8.5722, 1.8002)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5E0E #400E5E
analogous
#545E0E #2C5E0E #0E5E18
triadic
#2C5E0E #0E2C5E #5E0E2C
tetradic
#2C5E0E #0E545E #400E5E #5E180E
square
#2C5E0E #0E545E #400E5E #5E180E
split-complementary
#2C5E0E #180E5E #5E0E54
monochromatic
#0C1B04 #132906 #2C5E0E #459316 #5EC91E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C5E0E#FFFFFF#000000##FFFFFF
##2C5E0E1.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: #2c5e0e;
/* rgb */ color: rgb(44, 94, 14);
/* oklch */ color: oklch(43.0% 0.121 136.8);
Tailwind
colors: {
  custom: {
    50: '#6b8c54',
    500: '#2c5e0e',
    950: '#000000',
  },
}
SCSS
$custom: #2c5e0e;
$custom-light: #6b8c54;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5e0e",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 14
  },
  "hsl": {
    "h": 97.5,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43043,
    "c": 0.12056,
    "h": 136.8
  },
  "luminance": 0.08573
}

Semantic roles & 50–950 ramp

primary
#2C5E0E
secondary
#713098
accent
#37F1AB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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