#2E5518#2E5518

#2E5518 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.6% C 0.100 H 136.2°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#2E5518
RGBrgb(46, 85, 24)
HSLhsl(98, 56%, 21%)
HSVhsv(98, 72%, 33%)
CMYKcmyk(45.9%, 0%, 71.8%, 66.7%)
CIE-LABlab(32.13, -26.05, 30.18)
CIE-LCHlch(32.13, 39.87, 130.79°)
OKLaboklab(40.62% -0.0723 0.0693)
OKLCHoklch(40.62% 0.1 136.2)
XYZxyz(4.5400, 7.1435, 2.0036)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5518 #3F1855
analogous
#4D5518 #2E5518 #185521
triadic
#2E5518 #182E55 #55182E
tetradic
#2E5518 #184D55 #3F1855 #552118
square
#2E5518 #184D55 #3F1855 #552118
split-complementary
#2E5518 #211855 #55184D
monochromatic
#0D1807 #14250B #2E5518 #488525 #62B433

Accessibility & contrast

On white

8.65
#2E5518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2E5518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5518
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5518#FFFFFF#000000##FFFFFF
##2E55181.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E10
Deuteranopia (green-blind)
#534A1D
Tritanopia (blue-blind)
#2C5248
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e5518;
/* rgb */ color: rgb(46, 85, 24);
/* oklch */ color: oklch(40.6% 0.100 136.2);
Tailwind
colors: {
  custom: {
    50: '#6a8558',
    500: '#2e5518',
    950: '#000000',
  },
}
SCSS
$custom: #2e5518;
$custom-light: #6a8558;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5518",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 24
  },
  "hsl": {
    "h": 98.361,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40617,
    "c": 0.1001,
    "h": 136.2
  },
  "luminance": 0.07144
}

Semantic roles & 50–950 ramp

primary
#2E5518
secondary
#6F3D8C
accent
#49DFA9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5518

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

Preview Lab → · Contrast checker → · Palette generator →

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