#2E5D16#2E5D16

#2E5D16 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 42.9% C 0.113 H 137.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2E5D16
RGBrgb(46, 93, 22)
HSLhsl(100, 62%, 23%)
HSVhsv(100, 76%, 36%)
CMYKcmyk(50.5%, 0%, 76.3%, 63.5%)
CIE-LABlab(34.94, -29.92, 34.02)
CIE-LCHlch(34.94, 45.30, 131.33°)
OKLaboklab(42.91% -0.0829 0.077)
OKLCHoklch(42.91% 0.113 137.1)
XYZxyz(5.1857, 8.4671, 2.1200)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5D16 #45165D
analogous
#525D16 #2E5D16 #165D21
triadic
#2E5D16 #162E5D #5D162E
tetradic
#2E5D16 #16525D #45165D #5D2116
square
#2E5D16 #16525D #45165D #5D2116
split-complementary
#2E5D16 #21165D #5D1652
monochromatic
#0C1906 #162C0A #2E5D16 #468E22 #5FC02D

Accessibility & contrast

On white

7.80
#2E5D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2E5D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5D16
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5D16#FFFFFF#000000##FFFFFF
##2E5D161.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60550A
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#2B594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e5d16;
/* rgb */ color: rgb(46, 93, 22);
/* oklch */ color: oklch(42.9% 0.113 137.1);
Tailwind
colors: {
  custom: {
    50: '#6c8b58',
    500: '#2e5d16',
    950: '#000000',
  },
}
SCSS
$custom: #2e5d16;
$custom-light: #6c8b58;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5d16",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 22
  },
  "hsl": {
    "h": 99.718,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42913,
    "c": 0.11316,
    "h": 137.1
  },
  "luminance": 0.08467
}

Semantic roles & 50–950 ramp

primary
#2E5D16
secondary
#763B94
accent
#43E5AE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5D16

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

Preview Lab → · Contrast checker → · Palette generator →

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