#2E5718#2E5718

#2E5718 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.2% C 0.103 H 136.6°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#2E5718
RGBrgb(46, 87, 24)
HSLhsl(99, 57%, 22%)
HSVhsv(99, 72%, 34%)
CMYKcmyk(47.1%, 0%, 72.4%, 65.9%)
CIE-LABlab(32.84, -26.99, 30.94)
CIE-LCHlch(32.84, 41.06, 131.10°)
OKLaboklab(41.2% -0.0748 0.0709)
OKLCHoklch(41.2% 0.103 136.6)
XYZxyz(4.6996, 7.4629, 2.0568)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5718 #411857
analogous
#4E5718 #2E5718 #185722
triadic
#2E5718 #182E57 #57182E
tetradic
#2E5718 #184E57 #411857 #572218
square
#2E5718 #184E57 #411857 #572218
split-complementary
#2E5718 #221857 #57184E
monochromatic
#0D1807 #15270B #2E5718 #478725 #61B732

Accessibility & contrast

On white

8.42
#2E5718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2E5718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5718
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5718#FFFFFF#000000##FFFFFF
##2E57181.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0F
Deuteranopia (green-blind)
#554C1D
Tritanopia (blue-blind)
#2C544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e5718;
/* rgb */ color: rgb(46, 87, 24);
/* oklch */ color: oklch(41.2% 0.103 136.6);
Tailwind
colors: {
  custom: {
    50: '#6b8758',
    500: '#2e5718',
    950: '#000000',
  },
}
SCSS
$custom: #2e5718;
$custom-light: #6b8758;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5718",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 24
  },
  "hsl": {
    "h": 99.048,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41196,
    "c": 0.10306,
    "h": 136.6
  },
  "luminance": 0.07463
}

Semantic roles & 50–950 ramp

primary
#2E5718
secondary
#723D8E
accent
#48E0AB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5718

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

Preview Lab → · Contrast checker → · Palette generator →

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