#2A6F4C#2A6F4C

#2A6F4C is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.8% C 0.090 H 158.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2A6F4C
RGBrgb(42, 111, 76)
HSLhsl(150, 45%, 30%)
HSVhsv(150, 62%, 44%)
CMYKcmyk(62.2%, 0%, 31.5%, 56.5%)
CIE-LABlab(41.82, -30.61, 13.19)
CIE-LCHlch(41.82, 33.33, 156.69°)
OKLaboklab(48.78% -0.0836 0.0335)
OKLCHoklch(48.78% 0.09 158.2)
XYZxyz(7.9431, 12.3822, 8.8075)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F4C #6F2A4D
analogous
#2B6F2A #2A6F4C #2A6F6E
triadic
#2A6F4C #4C2A6F #6F4C2A
tetradic
#2A6F4C #2A2B6F #6F2A4D #6F6E2A
square
#2A6F4C #2A2B6F #6F2A4D #6F6E2A
split-complementary
#2A6F4C #6E2A6F #6F2A2B
monochromatic
#08160F #19432E #2A6F4C #3B9B6A #55BF89

Accessibility & contrast

On white

6.04
#2A6F4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2A6F4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6F4C
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F4C#FFFFFF#000000##FFFFFF
##2A6F4C1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E674A
Deuteranopia (green-blind)
#65604E
Tritanopia (blue-blind)
#0D6E66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a6f4c;
/* rgb */ color: rgb(42, 111, 76);
/* oklch */ color: oklch(48.8% 0.090 158.2);
Tailwind
colors: {
  custom: {
    50: '#6b997e',
    500: '#2a6f4c',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f4c;
$custom-light: #6b997e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f4c",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 76
  },
  "hsl": {
    "h": 149.565,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.48775,
    "c": 0.09001,
    "h": 158.2
  },
  "luminance": 0.12383
}

Semantic roles & 50–950 ramp

primary
#2A6F4C
secondary
#A1547B
accent
#5395D5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2A6F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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