#2A6F4A#2A6F4A

#2A6F4A is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.7% C 0.092 H 156.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2A6F4A
RGBrgb(42, 111, 74)
HSLhsl(148, 45%, 30%)
HSVhsv(148, 62%, 44%)
CMYKcmyk(62.2%, 0%, 33.3%, 56.5%)
CIE-LABlab(41.77, -31.06, 14.31)
CIE-LCHlch(41.77, 34.20, 155.26°)
OKLaboklab(48.73% -0.0846 0.0362)
OKLCHoklch(48.73% 0.092 156.8)
XYZxyz(7.8746, 12.3548, 8.4470)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F4A #6F2A4F
analogous
#2D6F2A #2A6F4A #2A6F6C
triadic
#2A6F4A #4A2A6F #6F4A2A
tetradic
#2A6F4A #2A2D6F #6F2A4F #6F6C2A
square
#2A6F4A #2A2D6F #6F2A4F #6F6C2A
split-complementary
#2A6F4A #6C2A6F #6F2A2D
monochromatic
#08160F #19432C #2A6F4A #3B9B68 #55BF86

Accessibility & contrast

On white

6.05
#2A6F4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2A6F4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6F4A
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F4A#FFFFFF#000000##FFFFFF
##2A6F4A1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6748
Deuteranopia (green-blind)
#65604C
Tritanopia (blue-blind)
#0F6E65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a6f4a;
/* rgb */ color: rgb(42, 111, 74);
/* oklch */ color: oklch(48.7% 0.092 156.8);
Tailwind
colors: {
  custom: {
    50: '#6b997c',
    500: '#2a6f4a',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f4a;
$custom-light: #6b997c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f4a",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 74
  },
  "hsl": {
    "h": 147.826,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.48726,
    "c": 0.092,
    "h": 156.8
  },
  "luminance": 0.12356
}

Semantic roles & 50–950 ramp

primary
#2A6F4A
secondary
#A1547D
accent
#5399D5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2A6F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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