#2A6746#2A6746

#2A6746 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.4% C 0.084 H 157.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2A6746
RGBrgb(42, 103, 70)
HSLhsl(148, 42%, 28%)
HSVhsv(148, 59%, 40%)
CMYKcmyk(59.2%, 0%, 32%, 59.6%)
CIE-LABlab(38.96, -28.20, 12.84)
CIE-LCHlch(38.96, 30.99, 155.53°)
OKLaboklab(46.39% -0.077 0.0325)
OKLCHoklch(46.39% 0.084 157.1)
XYZxyz(6.9100, 10.6343, 7.4816)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6746 #672A4B
analogous
#2C672A #2A6746 #2A6764
triadic
#2A6746 #462A67 #67462A
tetradic
#2A6746 #2A2C67 #672A4B #67642A
square
#2A6746 #2A2C67 #672A4B #67642A
split-complementary
#2A6746 #642A67 #672A2C
monochromatic
#09160F #183C28 #2A6746 #3C9264 #53B982

Accessibility & contrast

On white

6.72
#2A6746 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2A6746 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6746
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6746#FFFFFF#000000##FFFFFF
##2A67461.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665F44
Deuteranopia (green-blind)
#5E5948
Tritanopia (blue-blind)
#15665E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a6746;
/* rgb */ color: rgb(42, 103, 70);
/* oklch */ color: oklch(46.4% 0.084 157.1);
Tailwind
colors: {
  custom: {
    50: '#699379',
    500: '#2a6746',
    950: '#000000',
  },
}
SCSS
$custom: #2a6746;
$custom-light: #699379;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6746",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 70
  },
  "hsl": {
    "h": 147.541,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.46393,
    "c": 0.08358,
    "h": 157.1
  },
  "luminance": 0.10635
}

Semantic roles & 50–950 ramp

primary
#2A6746
secondary
#995479
accent
#5699D2
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#070D09
muted
#7A7E7B

Preview Lab

Preview with #2A6746

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

Preview Lab → · Contrast checker → · Palette generator →

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