#2E6312#2E6312

#2E6312 is a dark, vivid yellow-green. Relative luminance 0.095; OKLCH L 44.6% C 0.124 H 137.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2E6312
RGBrgb(46, 99, 18)
HSLhsl(99, 69%, 23%)
HSVhsv(99, 82%, 39%)
CMYKcmyk(53.5%, 0%, 81.8%, 61.2%)
CIE-LABlab(37.02, -32.84, 37.65)
CIE-LCHlch(37.02, 49.96, 131.10°)
OKLaboklab(44.62% -0.0911 0.084)
OKLCHoklch(44.62% 0.124 137.3)
XYZxyz(5.6976, 9.5478, 2.1148)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6312 #471263
analogous
#566312 #2E6312 #12631E
triadic
#2E6312 #122E63 #63122E
tetradic
#2E6312 #125663 #471263 #631E12
square
#2E6312 #125663 #471263 #631E12
split-complementary
#2E6312 #1E1263 #631256
monochromatic
#0C1A05 #162F09 #2E6312 #46971B #5ECB25

Accessibility & contrast

On white

7.22
#2E6312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2E6312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E6312
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6312#FFFFFF#000000##FFFFFF
##2E63121.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A01
Deuteranopia (green-blind)
#60551B
Tritanopia (blue-blind)
#2A5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e6312;
/* rgb */ color: rgb(46, 99, 18);
/* oklch */ color: oklch(44.6% 0.124 137.3);
Tailwind
colors: {
  custom: {
    50: '#6d9057',
    500: '#2e6312',
    950: '#000000',
  },
}
SCSS
$custom: #2e6312;
$custom-light: #6d9057;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6312",
  "rgb": {
    "r": 46,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 99.259,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44615,
    "c": 0.12389,
    "h": 137.3
  },
  "luminance": 0.09548
}

Semantic roles & 50–950 ramp

primary
#2E6312
secondary
#78369B
accent
#3CECAF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E6312

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

Preview Lab → · Contrast checker → · Palette generator →

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