#2E511A#2E511A

#2E511A is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.5% C 0.092 H 135.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#2E511A
RGBrgb(46, 81, 26)
HSLhsl(98, 51%, 21%)
HSVhsv(98, 68%, 32%)
CMYKcmyk(43.2%, 0%, 67.9%, 68.2%)
CIE-LABlab(30.74, -23.90, 27.68)
CIE-LCHlch(30.74, 36.57, 130.82°)
OKLaboklab(39.48% -0.0663 0.0642)
OKLCHoklch(39.48% 0.092 135.9)
XYZxyz(4.2555, 6.5401, 2.0152)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E511A #3D1A51
analogous
#49511A #2E511A #1A5121
triadic
#2E511A #1A2E51 #511A2E
tetradic
#2E511A #1A4951 #3D1A51 #51211A
square
#2E511A #1A4951 #3D1A51 #51211A
split-complementary
#2E511A #211A51 #511A49
monochromatic
#0D1707 #14230B #2E511A #487F29 #63AE38

Accessibility & contrast

On white

9.10
#2E511A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2E511A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E511A
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E511A#FFFFFF#000000##FFFFFF
##2E511A1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A14
Deuteranopia (green-blind)
#4F471E
Tritanopia (blue-blind)
#2D4E45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e511a;
/* rgb */ color: rgb(46, 81, 26);
/* oklch */ color: oklch(39.5% 0.092 135.9);
Tailwind
colors: {
  custom: {
    50: '#6a8259',
    500: '#2e511a',
    950: '#000000',
  },
}
SCSS
$custom: #2e511a;
$custom-light: #6a8259;
$custom-dark: #000000;
JSON
{
  "hex": "#2e511a",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 26
  },
  "hsl": {
    "h": 98.182,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39482,
    "c": 0.09227,
    "h": 135.9
  },
  "luminance": 0.0654
}

Semantic roles & 50–950 ramp

primary
#2E511A
secondary
#6D4087
accent
#4DDBA7
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E511A

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

Preview Lab → · Contrast checker → · Palette generator →

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