#2A6F45#2A6F45

#2A6F45 is a mid, moderate green. Relative luminance 0.123; OKLCH L 48.6% C 0.097 H 153.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2A6F45
RGBrgb(42, 111, 69)
HSLhsl(143, 45%, 30%)
HSVhsv(143, 62%, 44%)
CMYKcmyk(62.2%, 0%, 37.8%, 56.5%)
CIE-LABlab(41.67, -32.12, 17.11)
CIE-LCHlch(41.67, 36.40, 151.96°)
OKLaboklab(48.61% -0.0871 0.0429)
OKLCHoklch(48.61% 0.097 153.8)
XYZxyz(7.7128, 12.2901, 7.5948)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F45 #6F2A54
analogous
#326F2A #2A6F45 #2A6F67
triadic
#2A6F45 #452A6F #6F452A
tetradic
#2A6F45 #2A326F #6F2A54 #6F672A
square
#2A6F45 #2A326F #6F2A54 #6F672A
split-complementary
#2A6F45 #672A6F #6F2A32
monochromatic
#08160E #194329 #2A6F45 #3B9B61 #55BF7E

Accessibility & contrast

On white

6.07
#2A6F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2A6F45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6F45
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F45#FFFFFF#000000##FFFFFF
##2A6F451.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6642
Deuteranopia (green-blind)
#666048
Tritanopia (blue-blind)
#126E64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2a6f45;
/* rgb */ color: rgb(42, 111, 69);
/* oklch */ color: oklch(48.6% 0.097 153.8);
Tailwind
colors: {
  custom: {
    50: '#6b9979',
    500: '#2a6f45',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f45;
$custom-light: #6b9979;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f45",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 69
  },
  "hsl": {
    "h": 143.478,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.4861,
    "c": 0.09711,
    "h": 153.8
  },
  "luminance": 0.12291
}

Semantic roles & 50–950 ramp

primary
#2A6F45
secondary
#A15483
accent
#53A2D5
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2A6F45

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

Preview Lab → · Contrast checker → · Palette generator →

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