#2E5C16#2E5C16

#2E5C16 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.6% C 0.112 H 137.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2E5C16
RGBrgb(46, 92, 22)
HSLhsl(99, 61%, 22%)
HSVhsv(99, 76%, 36%)
CMYKcmyk(50%, 0%, 76.1%, 63.9%)
CIE-LABlab(34.59, -29.47, 33.66)
CIE-LCHlch(34.59, 44.74, 131.20°)
OKLaboklab(42.62% -0.0817 0.0763)
OKLCHoklch(42.62% 0.112 137)
XYZxyz(5.0985, 8.2927, 2.0909)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5C16 #44165C
analogous
#515C16 #2E5C16 #165C21
triadic
#2E5C16 #162E5C #5C162E
tetradic
#2E5C16 #16515C #44165C #5C2116
square
#2E5C16 #16515C #44165C #5C2116
split-complementary
#2E5C16 #21165C #5C1651
monochromatic
#0C1906 #152B0A #2E5C16 #478D22 #5FBF2E

Accessibility & contrast

On white

7.90
#2E5C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2E5C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5C16
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5C16#FFFFFF#000000##FFFFFF
##2E5C161.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540A
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#2B584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e5c16;
/* rgb */ color: rgb(46, 92, 22);
/* oklch */ color: oklch(42.6% 0.112 137.0);
Tailwind
colors: {
  custom: {
    50: '#6c8a58',
    500: '#2e5c16',
    950: '#000000',
  },
}
SCSS
$custom: #2e5c16;
$custom-light: #6c8a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5c16",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 22
  },
  "hsl": {
    "h": 99.429,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42623,
    "c": 0.11176,
    "h": 137
  },
  "luminance": 0.08293
}

Semantic roles & 50–950 ramp

primary
#2E5C16
secondary
#753B93
accent
#43E5AD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5C16

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

Preview Lab → · Contrast checker → · Palette generator →

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