#2E661A#2E661A

#2E661A is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.123 H 138.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2E661A
RGBrgb(46, 102, 26)
HSLhsl(104, 59%, 25%)
HSVhsv(104, 75%, 40%)
CMYKcmyk(54.9%, 0%, 74.5%, 60%)
CIE-LABlab(38.12, -33.50, 35.59)
CIE-LCHlch(38.12, 48.88, 133.27°)
OKLaboklab(45.54% -0.0923 0.0809)
OKLCHoklch(45.54% 0.123 138.8)
XYZxyz(6.0643, 10.1577, 2.6182)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E661A #521A66
analogous
#54661A #2E661A #1A662C
triadic
#2E661A #1A2E66 #661A2E
tetradic
#2E661A #1A5466 #521A66 #662C1A
square
#2E661A #1A5466 #521A66 #662C1A
split-complementary
#2E661A #2C1A66 #661A54
monochromatic
#0B1806 #18350E #2E661A #449726 #5AC833

Accessibility & contrast

On white

6.93
#2E661A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2E661A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E661A
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E661A#FFFFFF#000000##FFFFFF
##2E661A1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D0E
Deuteranopia (green-blind)
#625821
Tritanopia (blue-blind)
#296257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e661a;
/* rgb */ color: rgb(46, 102, 26);
/* oklch */ color: oklch(45.5% 0.123 138.8);
Tailwind
colors: {
  custom: {
    50: '#6d925b',
    500: '#2e661a',
    950: '#000000',
  },
}
SCSS
$custom: #2e661a;
$custom-light: #6d925b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e661a",
  "rgb": {
    "r": 46,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 104.211,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45543,
    "c": 0.12274,
    "h": 138.8
  },
  "luminance": 0.10158
}

Semantic roles & 50–950 ramp

primary
#2E661A
secondary
#84409C
accent
#45E3B9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2E661A

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

Preview Lab → · Contrast checker → · Palette generator →

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