#2E4518#2E4518

#2E4518 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.075 H 131.9°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2E4518
RGBrgb(46, 69, 24)
HSLhsl(91, 48%, 18%)
HSVhsv(91, 65%, 27%)
CMYKcmyk(33.3%, 0%, 65.2%, 72.9%)
CIE-LABlab(26.46, -17.94, 23.91)
CIE-LCHlch(26.46, 29.89, 126.88°)
OKLaboklab(35.99% -0.0501 0.0559)
OKLCHoklch(35.99% 0.075 131.9)
XYZxyz(3.4197, 4.9029, 1.6302)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4518 #2F1845
analogous
#444518 #2E4518 #184518
triadic
#2E4518 #182E45 #45182E
tetradic
#2E4518 #184445 #2F1845 #451818
square
#2E4518 #184445 #2F1845 #451818
split-complementary
#2E4518 #181845 #451844
monochromatic
#0F1708 #101808 #2E4518 #4C7228 #6BA038

Accessibility & contrast

On white

10.60
#2E4518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2E4518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4518
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4518#FFFFFF#000000##FFFFFF
##2E45181.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484013
Deuteranopia (green-blind)
#453E1B
Tritanopia (blue-blind)
#2F423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e4518;
/* rgb */ color: rgb(46, 69, 24);
/* oklch */ color: oklch(36.0% 0.075 131.9);
Tailwind
colors: {
  custom: {
    50: '#687957',
    500: '#2e4518',
    950: '#000000',
  },
}
SCSS
$custom: #2e4518;
$custom-light: #687957;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4518",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 24
  },
  "hsl": {
    "h": 90.667,
    "s": 48.387,
    "l": 18.235
  },
  "oklch": {
    "l": 0.35988,
    "c": 0.07507,
    "h": 131.9
  },
  "luminance": 0.04903
}

Semantic roles & 50–950 ramp

primary
#2E4518
secondary
#5D3D7C
accent
#50D895
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4518

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

Preview Lab → · Contrast checker → · Palette generator →

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