#2E6211#2E6211

#2E6211 is a dark, vivid yellow-green. Relative luminance 0.094; OKLCH L 44.3% C 0.123 H 137.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2E6211
RGBrgb(46, 98, 17)
HSLhsl(99, 70%, 23%)
HSVhsv(99, 83%, 38%)
CMYKcmyk(53.1%, 0%, 82.7%, 61.6%)
CIE-LABlab(36.66, -32.48, 37.66)
CIE-LCHlch(36.66, 49.74, 130.77°)
OKLaboklab(44.32% -0.0902 0.0838)
OKLCHoklch(44.32% 0.123 137.1)
XYZxyz(5.5954, 9.3563, 2.0413)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6211 #451162
analogous
#566211 #2E6211 #11621D
triadic
#2E6211 #112E62 #62112E
tetradic
#2E6211 #115662 #451162 #621D11
square
#2E6211 #115662 #451162 #621D11
split-complementary
#2E6211 #1D1162 #621156
monochromatic
#0C1A05 #162E08 #2E6211 #46961A #5FCA23

Accessibility & contrast

On white

7.31
#2E6211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2E6211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E6211
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6211#FFFFFF#000000##FFFFFF
##2E62111.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#5F551A
Tritanopia (blue-blind)
#2B5E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e6211;
/* rgb */ color: rgb(46, 98, 17);
/* oklch */ color: oklch(44.3% 0.123 137.1);
Tailwind
colors: {
  custom: {
    50: '#6d8f56',
    500: '#2e6211',
    950: '#000000',
  },
}
SCSS
$custom: #2e6211;
$custom-light: #6d8f56;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6211",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 98.519,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44319,
    "c": 0.12313,
    "h": 137.1
  },
  "luminance": 0.09357
}

Semantic roles & 50–950 ramp

primary
#2E6211
secondary
#76349A
accent
#3BEDAD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E6211

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

Preview Lab → · Contrast checker → · Palette generator →

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