#2E5A10#2E5A10

#2E5A10 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.0% C 0.113 H 135.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2E5A10
RGBrgb(46, 90, 16)
HSLhsl(96, 70%, 21%)
HSVhsv(96, 82%, 35%)
CMYKcmyk(48.9%, 0%, 82.2%, 64.7%)
CIE-LABlab(33.84, -29.03, 35.32)
CIE-LCHlch(33.84, 45.72, 129.41°)
OKLaboklab(42% -0.081 0.0788)
OKLCHoklch(42% 0.113 135.8)
XYZxyz(4.8763, 7.9303, 1.7639)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5A10 #3C105A
analogous
#535A10 #2E5A10 #105A17
triadic
#2E5A10 #102E5A #5A102E
tetradic
#2E5A10 #10535A #3C105A #5A1710
square
#2E5A10 #10535A #3C105A #5A1710
split-complementary
#2E5A10 #17105A #5A1053
monochromatic
#0D1A05 #132607 #2E5A10 #498E19 #63C222

Accessibility & contrast

On white

8.12
#2E5A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2E5A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5A10
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5A10#FFFFFF#000000##FFFFFF
##2E5A101.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5201
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#2C564C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e5a10;
/* rgb */ color: rgb(46, 90, 16);
/* oklch */ color: oklch(42.0% 0.113 135.8);
Tailwind
colors: {
  custom: {
    50: '#6c8955',
    500: '#2e5a10',
    950: '#000000',
  },
}
SCSS
$custom: #2e5a10;
$custom-light: #6c8955;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5a10",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 95.676,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41996,
    "c": 0.11295,
    "h": 135.8
  },
  "luminance": 0.07931
}

Semantic roles & 50–950 ramp

primary
#2E5A10
secondary
#6C3393
accent
#3BEDA5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5A10

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

Preview Lab → · Contrast checker → · Palette generator →

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