#2E6710#2E6710

#2E6710 is a mid, vivid yellow-green. Relative luminance 0.103; OKLCH L 45.8% C 0.130 H 137.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2E6710
RGBrgb(46, 103, 16)
HSLhsl(99, 73%, 23%)
HSVhsv(99, 84%, 40%)
CMYKcmyk(55.3%, 0%, 84.5%, 59.6%)
CIE-LABlab(38.41, -34.66, 39.65)
CIE-LCHlch(38.41, 52.66, 131.16°)
OKLaboklab(45.76% -0.0961 0.0878)
OKLCHoklch(45.76% 0.13 137.6)
XYZxyz(6.0703, 10.3183, 2.1619)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6710 #491067
analogous
#596710 #2E6710 #10671D
triadic
#2E6710 #102E67 #67102E
tetradic
#2E6710 #105967 #491067 #671D10
square
#2E6710 #105967 #491067 #671D10
split-complementary
#2E6710 #1D1067 #671059
monochromatic
#0C1A04 #163208 #2E6710 #469C18 #5DD120

Accessibility & contrast

On white

6.85
#2E6710 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2E6710 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6710
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6710#FFFFFF#000000##FFFFFF
##2E67101.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#63591A
Tritanopia (blue-blind)
#2A6357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e6710;
/* rgb */ color: rgb(46, 103, 16);
/* oklch */ color: oklch(45.8% 0.130 137.6);
Tailwind
colors: {
  custom: {
    50: '#6e9357',
    500: '#2e6710',
    950: '#000000',
  },
}
SCSS
$custom: #2e6710;
$custom-light: #6e9357;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6710",
  "rgb": {
    "r": 46,
    "g": 103,
    "b": 16
  },
  "hsl": {
    "h": 99.31,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45756,
    "c": 0.13018,
    "h": 137.6
  },
  "luminance": 0.10319
}

Semantic roles & 50–950 ramp

primary
#2E6710
secondary
#7A339F
accent
#38F0B0
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2E6710

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

Preview Lab → · Contrast checker → · Palette generator →

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