#2E662A#2E662A

#2E662A is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.7% C 0.109 H 142.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2E662A
RGBrgb(46, 102, 42)
HSLhsl(116, 42%, 28%)
HSVhsv(116, 59%, 40%)
CMYKcmyk(54.9%, 0%, 58.8%, 60%)
CIE-LABlab(38.29, -31.70, 28.03)
CIE-LCHlch(38.29, 42.31, 138.51°)
OKLaboklab(45.73% -0.0864 0.0666)
OKLCHoklch(45.73% 0.109 142.3)
XYZxyz(6.2957, 10.2503, 3.8368)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E662A #622A66
analogous
#4C662A #2E662A #2A6644
triadic
#2E662A #2A2E66 #662A2E
tetradic
#2E662A #2A4C66 #622A66 #66442A
square
#2E662A #2A4C66 #622A66 #66442A
split-complementary
#2E662A #442A66 #662A4C
monochromatic
#0A1609 #1A3B18 #2E662A #42913C #59B852

Accessibility & contrast

On white

6.88
#2E662A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2E662A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E662A
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E662A#FFFFFF#000000##FFFFFF
##2E662A1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D24
Deuteranopia (green-blind)
#61582E
Tritanopia (blue-blind)
#276359
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e662a;
/* rgb */ color: rgb(46, 102, 42);
/* oklch */ color: oklch(45.7% 0.109 142.3);
Tailwind
colors: {
  custom: {
    50: '#6c9265',
    500: '#2e662a',
    950: '#000000',
  },
}
SCSS
$custom: #2e662a;
$custom-light: #6c9265;
$custom-dark: #000000;
JSON
{
  "hex": "#2e662a",
  "rgb": {
    "r": 46,
    "g": 102,
    "b": 42
  },
  "hsl": {
    "h": 116,
    "s": 41.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.45731,
    "c": 0.10909,
    "h": 142.3
  },
  "luminance": 0.10251
}

Semantic roles & 50–950 ramp

primary
#2E662A
secondary
#945498
accent
#56D1C9
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #2E662A

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

Preview Lab → · Contrast checker → · Palette generator →

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