#2E6210#2E6210

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

Color values

HEX#2E6210
RGBrgb(46, 98, 16)
HSLhsl(98, 72%, 22%)
HSVhsv(98, 84%, 38%)
CMYKcmyk(53.1%, 0%, 83.7%, 61.6%)
CIE-LABlab(36.66, -32.55, 38.01)
CIE-LCHlch(36.66, 50.04, 130.57°)
OKLaboklab(44.31% -0.0904 0.0844)
OKLCHoklch(44.31% 0.124 137)
XYZxyz(5.5878, 9.3532, 2.0010)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6210 #441062
analogous
#576210 #2E6210 #10621B
triadic
#2E6210 #102E62 #62102E
tetradic
#2E6210 #105762 #441062 #621B10
square
#2E6210 #105762 #441062 #621B10
split-complementary
#2E6210 #1B1062 #621057
monochromatic
#0C1A04 #152D07 #2E6210 #479719 #5FCB21

Accessibility & contrast

On white

7.32
#2E6210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E6210
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6210#FFFFFF#000000##FFFFFF
##2E62101.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e6210;
/* rgb */ color: rgb(46, 98, 16);
/* oklch */ color: oklch(44.3% 0.124 137.0);
Tailwind
colors: {
  custom: {
    50: '#6d8f56',
    500: '#2e6210',
    950: '#000000',
  },
}
SCSS
$custom: #2e6210;
$custom-light: #6d8f56;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6210",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 16
  },
  "hsl": {
    "h": 98.049,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44313,
    "c": 0.12368,
    "h": 137
  },
  "luminance": 0.09354
}

Semantic roles & 50–950 ramp

primary
#2E6210
secondary
#75339B
accent
#39EFAC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E6210

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

Preview Lab → · Contrast checker → · Palette generator →

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