#2E541A#2E541A

#2E541A is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.4% C 0.097 H 136.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#2E541A
RGBrgb(46, 84, 26)
HSLhsl(99, 53%, 22%)
HSVhsv(99, 69%, 33%)
CMYKcmyk(45.2%, 0%, 69%, 67.1%)
CIE-LABlab(31.80, -25.36, 28.85)
CIE-LCHlch(31.80, 38.41, 131.32°)
OKLaboklab(40.35% -0.0703 0.0667)
OKLCHoklch(40.35% 0.097 136.5)
XYZxyz(4.4834, 6.9958, 2.0912)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E541A #401A54
analogous
#4B541A #2E541A #1A5423
triadic
#2E541A #1A2E54 #541A2E
tetradic
#2E541A #1A4B54 #401A54 #54231A
square
#2E541A #1A4B54 #401A54 #54231A
split-complementary
#2E541A #231A54 #541A4B
monochromatic
#0D1707 #14250C #2E541A #488328 #61B137

Accessibility & contrast

On white

8.75
#2E541A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2E541A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E541A
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E541A#FFFFFF#000000##FFFFFF
##2E541A1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D13
Deuteranopia (green-blind)
#524A1F
Tritanopia (blue-blind)
#2C5148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e541a;
/* rgb */ color: rgb(46, 84, 26);
/* oklch */ color: oklch(40.4% 0.097 136.5);
Tailwind
colors: {
  custom: {
    50: '#6a8459',
    500: '#2e541a',
    950: '#000000',
  },
}
SCSS
$custom: #2e541a;
$custom-light: #6a8459;
$custom-dark: #000000;
JSON
{
  "hex": "#2e541a",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 26
  },
  "hsl": {
    "h": 99.31,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4035,
    "c": 0.09688,
    "h": 136.5
  },
  "luminance": 0.06996
}

Semantic roles & 50–950 ramp

primary
#2E541A
secondary
#70408A
accent
#4CDCAA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2E541A

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

Preview Lab → · Contrast checker → · Palette generator →

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