#2C5D0E#2C5D0E

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

Color values

HEX#2C5D0E
RGBrgb(44, 93, 14)
HSLhsl(97, 74%, 21%)
HSVhsv(97, 85%, 36%)
CMYKcmyk(52.7%, 0%, 84.9%, 63.5%)
CIE-LABlab(34.79, -31.19, 36.90)
CIE-LCHlch(34.79, 48.32, 130.20°)
OKLaboklab(42.75% -0.0868 0.0818)
OKLCHoklch(42.75% 0.119 136.7)
XYZxyz(5.0322, 8.3955, 1.7707)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5D0E #3F0E5D
analogous
#535D0E #2C5D0E #0E5D17
triadic
#2C5D0E #0E2C5D #5D0E2C
tetradic
#2C5D0E #0E535D #3F0E5D #5D170E
square
#2C5D0E #0E535D #3F0E5D #5D170E
split-complementary
#2C5D0E #170E5D #5D0E53
monochromatic
#0D1B04 #132806 #2C5D0E #459216 #5EC71E

Accessibility & contrast

On white

7.84
#2C5D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C5D0E
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5D0E#FFFFFF#000000##FFFFFF
##2C5D0E1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c5d0e;
/* rgb */ color: rgb(44, 93, 14);
/* oklch */ color: oklch(42.8% 0.119 136.7);
Tailwind
colors: {
  custom: {
    50: '#6b8b54',
    500: '#2c5d0e',
    950: '#000000',
  },
}
SCSS
$custom: #2c5d0e;
$custom-light: #6b8b54;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5d0e",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 14
  },
  "hsl": {
    "h": 97.215,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42752,
    "c": 0.11924,
    "h": 136.7
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

primary
#2C5D0E
secondary
#703097
accent
#37F0AA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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