#2E4810#2E4810

#2E4810 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.8% C 0.087 H 131.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2E4810
RGBrgb(46, 72, 16)
HSLhsl(88, 64%, 17%)
HSVhsv(88, 78%, 28%)
CMYKcmyk(36.1%, 0%, 77.8%, 71.8%)
CIE-LABlab(27.44, -20.32, 28.99)
CIE-LCHlch(27.44, 35.40, 125.03°)
OKLaboklab(36.77% -0.0574 0.0655)
OKLCHoklch(36.77% 0.087 131.2)
XYZxyz(3.5376, 5.2529, 1.3176)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4810 #2A1048
analogous
#484610 #2E4810 #124810
triadic
#2E4810 #102E48 #48102E
tetradic
#2E4810 #104846 #2A1048 #481012
square
#2E4810 #104846 #2A1048 #481012
split-complementary
#2E4810 #101248 #461048
monochromatic
#101906 #101906 #2E4810 #4E7A1B #6EAC26

Accessibility & contrast

On white

10.24
#2E4810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2E4810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4810
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4810#FFFFFF#000000##FFFFFF
##2E48101.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4207
Deuteranopia (green-blind)
#484015
Tritanopia (blue-blind)
#2F453D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e4810;
/* rgb */ color: rgb(46, 72, 16);
/* oklch */ color: oklch(36.8% 0.087 131.2);
Tailwind
colors: {
  custom: {
    50: '#697b52',
    500: '#2e4810',
    950: '#000000',
  },
}
SCSS
$custom: #2e4810;
$custom-light: #697b52;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4810",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 16
  },
  "hsl": {
    "h": 87.857,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36765,
    "c": 0.08709,
    "h": 131.2
  },
  "luminance": 0.05253
}

Semantic roles & 50–950 ramp

primary
#2E4810
secondary
#573282
accent
#41E78E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E4810

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

Preview Lab → · Contrast checker → · Palette generator →

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