#2E662F#2E662F

#2E662F is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.8% C 0.104 H 144.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2E662F
RGBrgb(46, 102, 47)
HSLhsl(121, 38%, 29%)
HSVhsv(121, 55%, 40%)
CMYKcmyk(54.9%, 0%, 53.9%, 60%)
CIE-LABlab(38.35, -30.97, 25.41)
CIE-LCHlch(38.35, 40.06, 140.63°)
OKLaboklab(45.81% -0.0842 0.0612)
OKLCHoklch(45.81% 0.104 144)
XYZxyz(6.3908, 10.2883, 4.3378)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E662F #662E65
analogous
#49662E #2E662F #2E664B
triadic
#2E662F #2F2E66 #662F2E
tetradic
#2E662F #2E4966 #662E65 #664B2E
square
#2E662F #2E4966 #662E65 #664B2E
split-complementary
#2E662F #4B2E66 #662E49
monochromatic
#0A150A #1B3C1C #2E662F #419042 #5AB55B

Accessibility & contrast

On white

6.87
#2E662F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E662F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E662F#FFFFFF#000000##FFFFFF
##2E662F1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D2A
Deuteranopia (green-blind)
#605833
Tritanopia (blue-blind)
#266359
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e662f;
/* rgb */ color: rgb(46, 102, 47);
/* oklch */ color: oklch(45.8% 0.104 144.0);
Tailwind
colors: {
  custom: {
    50: '#6c9269',
    500: '#2e662f',
    950: '#000000',
  },
}
SCSS
$custom: #2e662f;
$custom-light: #6c9269;
$custom-dark: #000000;
JSON
{
  "hex": "#2e662f",
  "rgb": {
    "r": 46,
    "g": 102,
    "b": 47
  },
  "hsl": {
    "h": 121.071,
    "s": 37.838,
    "l": 29.02
  },
  "oklch": {
    "l": 0.45808,
    "c": 0.10409,
    "h": 144
  },
  "luminance": 0.10289
}

Semantic roles & 50–950 ramp

primary
#2E662F
secondary
#985897
accent
#5ACCCE
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #2E662F

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

Preview Lab → · Contrast checker → · Palette generator →

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