#2E5C10#2E5C10

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

Color values

HEX#2E5C10
RGBrgb(46, 92, 16)
HSLhsl(96, 70%, 21%)
HSVhsv(96, 83%, 36%)
CMYKcmyk(50%, 0%, 82.6%, 63.9%)
CIE-LABlab(34.54, -29.92, 36.00)
CIE-LCHlch(34.54, 46.81, 129.73°)
OKLaboklab(42.58% -0.0834 0.0802)
OKLCHoklch(42.58% 0.116 136.1)
XYZxyz(5.0473, 8.2722, 1.8209)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5C10 #3E105C
analogous
#545C10 #2E5C10 #105C18
triadic
#2E5C10 #102E5C #5C102E
tetradic
#2E5C10 #10545C #3E105C #5C1810
square
#2E5C10 #10545C #3E105C #5C1810
split-complementary
#2E5C10 #18105C #5C1054
monochromatic
#0D1A05 #142807 #2E5C10 #489019 #62C422

Accessibility & contrast

On white

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

On black

2.65
#2E5C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2E5C10#FFFFFF#000000##FFFFFF
##2E5C101.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605401
Deuteranopia (green-blind)
#595018
Tritanopia (blue-blind)
#2C584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e5c10;
/* rgb */ color: rgb(46, 92, 16);
/* oklch */ color: oklch(42.6% 0.116 136.1);
Tailwind
colors: {
  custom: {
    50: '#6c8a55',
    500: '#2e5c10',
    950: '#000000',
  },
}
SCSS
$custom: #2e5c10;
$custom-light: #6c8a55;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5c10",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 16
  },
  "hsl": {
    "h": 96.316,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42576,
    "c": 0.11568,
    "h": 136.1
  },
  "luminance": 0.08273
}

Semantic roles & 50–950 ramp

primary
#2E5C10
secondary
#6E3395
accent
#3BEDA7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5C10

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

Preview Lab → · Contrast checker → · Palette generator →

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