#2E5114#2E5114

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

Color values

HEX#2E5114
RGBrgb(46, 81, 20)
HSLhsl(94, 60%, 20%)
HSVhsv(94, 75%, 32%)
CMYKcmyk(43.2%, 0%, 75.3%, 68.2%)
CIE-LABlab(30.68, -24.50, 30.51)
CIE-LCHlch(30.68, 39.13, 128.76°)
OKLaboklab(39.42% -0.0684 0.0694)
OKLCHoklch(39.42% 0.097 134.6)
XYZxyz(4.1953, 6.5160, 1.6983)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5114 #371451
analogous
#4D5114 #2E5114 #145118
triadic
#2E5114 #142E51 #51142E
tetradic
#2E5114 #144D51 #371451 #511814
square
#2E5114 #144D51 #371451 #511814
split-complementary
#2E5114 #181451 #51144D
monochromatic
#0E1906 #122008 #2E5114 #4A8220 #66B32C

Accessibility & contrast

On white

9.12
#2E5114 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E5114
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5114#FFFFFF#000000##FFFFFF
##2E51141.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0B
Deuteranopia (green-blind)
#504719
Tritanopia (blue-blind)
#2D4E45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e5114;
/* rgb */ color: rgb(46, 81, 20);
/* oklch */ color: oklch(39.4% 0.097 134.6);
Tailwind
colors: {
  custom: {
    50: '#6a8255',
    500: '#2e5114',
    950: '#000000',
  },
}
SCSS
$custom: #2e5114;
$custom-light: #6a8255;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5114",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 20
  },
  "hsl": {
    "h": 94.426,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39417,
    "c": 0.09741,
    "h": 134.6
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#2E5114
secondary
#663889
accent
#44E4A0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E5114

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

Preview Lab → · Contrast checker → · Palette generator →

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