#2E4813#2E4813

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

Color values

HEX#2E4813
RGBrgb(46, 72, 19)
HSLhsl(89, 58%, 18%)
HSVhsv(89, 74%, 28%)
CMYKcmyk(36.1%, 0%, 73.6%, 71.8%)
CIE-LABlab(27.47, -20.05, 27.61)
CIE-LCHlch(27.47, 34.12, 126.00°)
OKLaboklab(36.8% -0.0564 0.0631)
OKLCHoklch(36.8% 0.085 131.8)
XYZxyz(3.5616, 5.2625, 1.4441)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4813 #2D1348
analogous
#484713 #2E4813 #134813
triadic
#2E4813 #132E48 #48132E
tetradic
#2E4813 #134847 #2D1348 #481313
square
#2E4813 #134847 #2D1348 #481313
split-complementary
#2E4813 #131348 #471348
monochromatic
#0F1806 #0F1806 #2E4813 #4D7820 #6CA92D

Accessibility & contrast

On white

10.23
#2E4813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4813
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4813#FFFFFF#000000##FFFFFF
##2E48131.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4813;
/* rgb */ color: rgb(46, 72, 19);
/* oklch */ color: oklch(36.8% 0.085 131.8);
Tailwind
colors: {
  custom: {
    50: '#697b54',
    500: '#2e4813',
    950: '#000000',
  },
}
SCSS
$custom: #2e4813;
$custom-light: #697b54;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4813",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 19
  },
  "hsl": {
    "h": 89.434,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36795,
    "c": 0.08462,
    "h": 131.8
  },
  "luminance": 0.05263
}

Semantic roles & 50–950 ramp

primary
#2E4813
secondary
#5B3681
accent
#46E192
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4813

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

Preview Lab → · Contrast checker → · Palette generator →

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