#2E6A0F#2E6A0F

#2E6A0F is a mid, vivid yellow-green. Relative luminance 0.109; OKLCH L 46.6% C 0.134 H 137.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#2E6A0F
RGBrgb(46, 106, 15)
HSLhsl(100, 75%, 24%)
HSVhsv(100, 86%, 42%)
CMYKcmyk(56.6%, 0%, 85.8%, 58.4%)
CIE-LABlab(39.45, -35.95, 40.93)
CIE-LCHlch(39.45, 54.47, 131.29°)
OKLaboklab(46.61% -0.0996 0.0904)
OKLCHoklch(46.61% 0.134 137.8)
XYZxyz(6.3668, 10.9229, 2.2247)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6A0F #4B0F6A
analogous
#5B6A0F #2E6A0F #0F6A1D
triadic
#2E6A0F #0F2E6A #6A0F2E
tetradic
#2E6A0F #0F5B6A #4B0F6A #6A1D0F
square
#2E6A0F #0F5B6A #4B0F6A #6A1D0F
split-complementary
#2E6A0F #1D0F6A #6A0F5B
monochromatic
#0C1B04 #173407 #2E6A0F #45A017 #5DD51E

Accessibility & contrast

On white

6.59
#2E6A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2E6A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6A0F
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6A0F#FFFFFF#000000##FFFFFF
##2E6A0F1.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#665B1A
Tritanopia (blue-blind)
#29665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e6a0f;
/* rgb */ color: rgb(46, 106, 15);
/* oklch */ color: oklch(46.6% 0.134 137.8);
Tailwind
colors: {
  custom: {
    50: '#6e9557',
    500: '#2e6a0f',
    950: '#000000',
  },
}
SCSS
$custom: #2e6a0f;
$custom-light: #6e9557;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6a0f",
  "rgb": {
    "r": 46,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 99.56,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46614,
    "c": 0.13448,
    "h": 137.8
  },
  "luminance": 0.10923
}

Semantic roles & 50–950 ramp

primary
#2E6A0F
secondary
#7C32A2
accent
#36F2B2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2E6A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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