#2E5C13#2E5C13

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

Color values

HEX#2E5C13
RGBrgb(46, 92, 19)
HSLhsl(98, 66%, 22%)
HSVhsv(98, 79%, 36%)
CMYKcmyk(50%, 0%, 79.3%, 63.9%)
CIE-LABlab(34.56, -29.71, 34.88)
CIE-LCHlch(34.56, 45.81, 130.43°)
OKLaboklab(42.6% -0.0826 0.0783)
OKLCHoklch(42.6% 0.114 136.5)
XYZxyz(5.0713, 8.2818, 1.9473)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5C13 #41135C
analogous
#535C13 #2E5C13 #135C1D
triadic
#2E5C13 #132E5C #5C132E
tetradic
#2E5C13 #13535C #41135C #5C1D13
square
#2E5C13 #13535C #41135C #5C1D13
split-complementary
#2E5C13 #1D135C #5C1353
monochromatic
#0D1905 #152909 #2E5C13 #478F1D #61C128

Accessibility & contrast

On white

7.91
#2E5C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E5C13
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5C13#FFFFFF#000000##FFFFFF
##2E5C131.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5405
Deuteranopia (green-blind)
#59501A
Tritanopia (blue-blind)
#2C584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e5c13;
/* rgb */ color: rgb(46, 92, 19);
/* oklch */ color: oklch(42.6% 0.114 136.5);
Tailwind
colors: {
  custom: {
    50: '#6c8a56',
    500: '#2e5c13',
    950: '#000000',
  },
}
SCSS
$custom: #2e5c13;
$custom-light: #6c8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5c13",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 19
  },
  "hsl": {
    "h": 97.808,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42598,
    "c": 0.11383,
    "h": 136.5
  },
  "luminance": 0.08282
}

Semantic roles & 50–950 ramp

primary
#2E5C13
secondary
#723794
accent
#3FE9AA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5C13

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

Preview Lab → · Contrast checker → · Palette generator →

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