#2C5E0F#2C5E0F

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

Color values

HEX#2C5E0F
RGBrgb(44, 94, 15)
HSLhsl(98, 72%, 21%)
HSVhsv(98, 84%, 37%)
CMYKcmyk(53.2%, 0%, 84%, 63.1%)
CIE-LABlab(35.15, -31.56, 36.90)
CIE-LCHlch(35.15, 48.56, 130.54°)
OKLaboklab(43.05% -0.0877 0.0819)
OKLCHoklch(43.05% 0.12 136.9)
XYZxyz(5.1275, 8.5750, 1.8368)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5E0F #410F5E
analogous
#545E0F #2C5E0F #0F5E1A
triadic
#2C5E0F #0F2C5E #5E0F2C
tetradic
#2C5E0F #0F545E #410F5E #5E1A0F
square
#2C5E0F #0F545E #410F5E #5E1A0F
split-complementary
#2C5E0F #1A0F5E #5E0F54
monochromatic
#0C1A04 #132907 #2C5E0F #459317 #5DC820

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C5E0F#FFFFFF#000000##FFFFFF
##2C5E0F1.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)
#5B5118
Tritanopia (blue-blind)
#295A4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c5e0f;
/* rgb */ color: rgb(44, 94, 15);
/* oklch */ color: oklch(43.0% 0.120 136.9);
Tailwind
colors: {
  custom: {
    50: '#6b8c55',
    500: '#2c5e0f',
    950: '#000000',
  },
}
SCSS
$custom: #2c5e0f;
$custom-light: #6b8c55;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5e0f",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 15
  },
  "hsl": {
    "h": 97.975,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4305,
    "c": 0.12002,
    "h": 136.9
  },
  "luminance": 0.08575
}

Semantic roles & 50–950 ramp

primary
#2C5E0F
secondary
#723197
accent
#39EFAC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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