#2E6213#2E6213

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

Color values

HEX#2E6213
RGBrgb(46, 98, 19)
HSLhsl(99, 68%, 23%)
HSVhsv(99, 81%, 38%)
CMYKcmyk(53.1%, 0%, 80.6%, 61.6%)
CIE-LABlab(36.67, -32.35, 36.95)
CIE-LCHlch(36.67, 49.11, 131.20°)
OKLaboklab(44.33% -0.0897 0.0827)
OKLCHoklch(44.33% 0.122 137.3)
XYZxyz(5.6118, 9.3628, 2.1275)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6213 #471362
analogous
#556213 #2E6213 #136220
triadic
#2E6213 #132E62 #62132E
tetradic
#2E6213 #135562 #471362 #622013
square
#2E6213 #135562 #471362 #622013
split-complementary
#2E6213 #201362 #621355
monochromatic
#0C1A05 #162F09 #2E6213 #46951D #5EC927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E6213#FFFFFF#000000##FFFFFF
##2E62131.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)
#655903
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#2B5E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e6213;
/* rgb */ color: rgb(46, 98, 19);
/* oklch */ color: oklch(44.3% 0.122 137.3);
Tailwind
colors: {
  custom: {
    50: '#6d8f57',
    500: '#2e6213',
    950: '#000000',
  },
}
SCSS
$custom: #2e6213;
$custom-light: #6d8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6213",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 99.494,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44333,
    "c": 0.12197,
    "h": 137.3
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#2E6213
secondary
#78379A
accent
#3DEAAF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E6213

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

Preview Lab → · Contrast checker → · Palette generator →

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