#2E4418#2E4418

#2E4418 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.7% C 0.073 H 131.4°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2E4418
RGBrgb(46, 68, 24)
HSLhsl(90, 48%, 18%)
HSVhsv(90, 65%, 27%)
CMYKcmyk(32.4%, 0%, 64.7%, 73.3%)
CIE-LABlab(26.10, -17.39, 23.50)
CIE-LCHlch(26.10, 29.24, 126.51°)
OKLaboklab(35.7% -0.0486 0.0551)
OKLCHoklch(35.7% 0.073 131.4)
XYZxyz(3.3587, 4.7809, 1.6098)
Luminance0.0478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4418 #2E1844
analogous
#444418 #2E4418 #184418
triadic
#2E4418 #182E44 #44182E
tetradic
#2E4418 #184444 #2E1844 #441818
square
#2E4418 #184444 #2E1844 #441818
split-complementary
#2E4418 #181844 #441844
monochromatic
#0F1708 #0F1708 #2E4418 #4D7128 #6B9E38

Accessibility & contrast

On white

10.74
#2E4418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2E4418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4418
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4418#FFFFFF#000000##FFFFFF
##2E44181.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F13
Deuteranopia (green-blind)
#443D1B
Tritanopia (blue-blind)
#2F413A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e4418;
/* rgb */ color: rgb(46, 68, 24);
/* oklch */ color: oklch(35.7% 0.073 131.4);
Tailwind
colors: {
  custom: {
    50: '#687856',
    500: '#2e4418',
    950: '#000000',
  },
}
SCSS
$custom: #2e4418;
$custom-light: #687856;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4418",
  "rgb": {
    "r": 46,
    "g": 68,
    "b": 24
  },
  "hsl": {
    "h": 90,
    "s": 47.826,
    "l": 18.039
  },
  "oklch": {
    "l": 0.357,
    "c": 0.07343,
    "h": 131.4
  },
  "luminance": 0.04781
}

Semantic roles & 50–950 ramp

primary
#2E4418
secondary
#5C3D7B
accent
#50D794
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4418

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

Preview Lab → · Contrast checker → · Palette generator →

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