#2C5A0E#2C5A0E

#2C5A0E is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 41.9% C 0.115 H 136.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2C5A0E
RGBrgb(44, 90, 14)
HSLhsl(96, 73%, 20%)
HSVhsv(96, 84%, 35%)
CMYKcmyk(51.1%, 0%, 84.4%, 64.7%)
CIE-LABlab(33.73, -29.87, 35.90)
CIE-LCHlch(33.73, 46.71, 129.76°)
OKLaboklab(41.88% -0.0832 0.0797)
OKLCHoklch(41.88% 0.115 136.2)
XYZxyz(4.7740, 7.8792, 1.6847)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5A0E #3C0E5A
analogous
#525A0E #2C5A0E #0E5A16
triadic
#2C5A0E #0E2C5A #5A0E2C
tetradic
#2C5A0E #0E525A #3C0E5A #5A160E
square
#2C5A0E #0E525A #3C0E5A #5A160E
split-complementary
#2C5A0E #160E5A #5A0E52
monochromatic
#0D1A04 #122506 #2C5A0E #468F16 #60C41E

Accessibility & contrast

On white

8.15
#2C5A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2C5A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5A0E
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5A0E#FFFFFF#000000##FFFFFF
##2C5A0E1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5200
Deuteranopia (green-blind)
#574E17
Tritanopia (blue-blind)
#2A564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c5a0e;
/* rgb */ color: rgb(44, 90, 14);
/* oklch */ color: oklch(41.9% 0.115 136.2);
Tailwind
colors: {
  custom: {
    50: '#6b8954',
    500: '#2c5a0e',
    950: '#000000',
  },
}
SCSS
$custom: #2c5a0e;
$custom-light: #6b8954;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5a0e",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 14
  },
  "hsl": {
    "h": 96.316,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41878,
    "c": 0.11523,
    "h": 136.2
  },
  "luminance": 0.0788
}

Semantic roles & 50–950 ramp

primary
#2C5A0E
secondary
#6C3094
accent
#38F0A7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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