#2E511C#2E511C

#2E511C is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.5% C 0.090 H 136.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#2E511C
RGBrgb(46, 81, 28)
HSLhsl(100, 49%, 21%)
HSVhsv(100, 65%, 32%)
CMYKcmyk(43.2%, 0%, 65.4%, 68.2%)
CIE-LABlab(30.76, -23.68, 26.67)
CIE-LCHlch(30.76, 35.66, 131.60°)
OKLaboklab(39.51% -0.0655 0.0623)
OKLCHoklch(39.51% 0.09 136.4)
XYZxyz(4.2786, 6.5493, 2.1371)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E511C #3F1C51
analogous
#49511C #2E511C #1C5125
triadic
#2E511C #1C2E51 #511C2E
tetradic
#2E511C #1C4951 #3F1C51 #51251C
square
#2E511C #1C4951 #3F1C51 #51251C
split-complementary
#2E511C #251C51 #511C49
monochromatic
#0D1708 #14240C #2E511C #487E2C #62AC3B

Accessibility & contrast

On white

9.09
#2E511C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E511C
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E511C#FFFFFF#000000##FFFFFF
##2E511C1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A16
Deuteranopia (green-blind)
#4F4720
Tritanopia (blue-blind)
#2D4E46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e511c;
/* rgb */ color: rgb(46, 81, 28);
/* oklch */ color: oklch(39.5% 0.090 136.4);
Tailwind
colors: {
  custom: {
    50: '#6a825a',
    500: '#2e511c',
    950: '#000000',
  },
}
SCSS
$custom: #2e511c;
$custom-light: #6a825a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e511c",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 28
  },
  "hsl": {
    "h": 99.623,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39507,
    "c": 0.09039,
    "h": 136.4
  },
  "luminance": 0.0655
}

Semantic roles & 50–950 ramp

primary
#2E511C
secondary
#6F4287
accent
#50D8AA
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2E511C

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

Preview Lab → · Contrast checker → · Palette generator →

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