#2E5110#2E5110

#2E5110 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.4% C 0.100 H 133.9°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2E5110
RGBrgb(46, 81, 16)
HSLhsl(92, 67%, 19%)
HSVhsv(92, 80%, 32%)
CMYKcmyk(43.2%, 0%, 80.2%, 68.2%)
CIE-LABlab(30.65, -24.82, 32.21)
CIE-LCHlch(30.65, 40.66, 127.62°)
OKLaboklab(39.38% -0.0696 0.0723)
OKLCHoklch(39.38% 0.1 133.9)
XYZxyz(4.1626, 6.5029, 1.5260)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5110 #331051
analogous
#4F5110 #2E5110 #105113
triadic
#2E5110 #102E51 #51102E
tetradic
#2E5110 #104F51 #331051 #511310
square
#2E5110 #104F51 #331051 #511310
split-complementary
#2E5110 #131051 #51104F
monochromatic
#0F1A05 #111E06 #2E5110 #4B841A #68B724

Accessibility & contrast

On white

9.13
#2E5110 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2E5110 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5110
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5110#FFFFFF#000000##FFFFFF
##2E51101.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A05
Deuteranopia (green-blind)
#504716
Tritanopia (blue-blind)
#2E4E44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e5110;
/* rgb */ color: rgb(46, 81, 16);
/* oklch */ color: oklch(39.4% 0.100 133.9);
Tailwind
colors: {
  custom: {
    50: '#6a8253',
    500: '#2e5110',
    950: '#000000',
  },
}
SCSS
$custom: #2e5110;
$custom-light: #6a8253;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5110",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 16
  },
  "hsl": {
    "h": 92.308,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39381,
    "c": 0.10033,
    "h": 133.9
  },
  "luminance": 0.06503
}

Semantic roles & 50–950 ramp

primary
#2E5110
secondary
#62328B
accent
#3EEA9B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E5110

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

Preview Lab → · Contrast checker → · Palette generator →

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