#2E4B18#2E4B18

#2E4B18 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.7% C 0.085 H 133.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2E4B18
RGBrgb(46, 75, 24)
HSLhsl(94, 52%, 19%)
HSVhsv(94, 68%, 29%)
CMYKcmyk(38.7%, 0%, 68%, 70.6%)
CIE-LABlab(28.59, -21.10, 26.31)
CIE-LCHlch(28.59, 33.73, 128.73°)
OKLaboklab(37.72% -0.0588 0.0611)
OKLCHoklch(37.72% 0.085 133.9)
XYZxyz(3.8076, 5.6788, 1.7595)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B18 #35184B
analogous
#484B18 #2E4B18 #184B1C
triadic
#2E4B18 #182E4B #4B182E
tetradic
#2E4B18 #18484B #35184B #4B1C18
square
#2E4B18 #18484B #35184B #4B1C18
split-complementary
#2E4B18 #1C184B #4B1848
monochromatic
#0E1707 #121D09 #2E4B18 #4A7927 #67A836

Accessibility & contrast

On white

9.83
#2E4B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2E4B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B18
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B18#FFFFFF#000000##FFFFFF
##2E4B181.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4512
Deuteranopia (green-blind)
#4A431C
Tritanopia (blue-blind)
#2E4840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e4b18;
/* rgb */ color: rgb(46, 75, 24);
/* oklch */ color: oklch(37.7% 0.085 133.9);
Tailwind
colors: {
  custom: {
    50: '#697d57',
    500: '#2e4b18',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b18;
$custom-light: #697d57;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b18",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 24
  },
  "hsl": {
    "h": 94.118,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37721,
    "c": 0.08476,
    "h": 133.9
  },
  "luminance": 0.05679
}

Semantic roles & 50–950 ramp

primary
#2E4B18
secondary
#643D82
accent
#4DDB9E
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4B18

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

Preview Lab → · Contrast checker → · Palette generator →

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