#2A663D#2A663D

#2A663D is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.9% C 0.091 H 151.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2A663D
RGBrgb(42, 102, 61)
HSLhsl(139, 42%, 28%)
HSVhsv(139, 59%, 40%)
CMYKcmyk(58.8%, 0%, 40.2%, 60%)
CIE-LABlab(38.43, -29.64, 17.47)
CIE-LCHlch(38.43, 34.41, 149.48°)
OKLaboklab(45.9% -0.0804 0.0436)
OKLCHoklch(45.9% 0.091 151.5)
XYZxyz(6.5480, 10.3313, 6.0631)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A663D #662A53
analogous
#35662A #2A663D #2A665B
triadic
#2A663D #3D2A66 #663D2A
tetradic
#2A663D #2A3566 #662A53 #665B2A
square
#2A663D #2A3566 #662A53 #665B2A
split-complementary
#2A663D #5B2A66 #662A35
monochromatic
#09160D #183B23 #2A663D #3C9157 #52B873

Accessibility & contrast

On white

6.85
#2A663D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2A663D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A663D
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A663D#FFFFFF#000000##FFFFFF
##2A663D1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665E3A
Deuteranopia (green-blind)
#5E5840
Tritanopia (blue-blind)
#1A645C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a663d;
/* rgb */ color: rgb(42, 102, 61);
/* oklch */ color: oklch(45.9% 0.091 151.5);
Tailwind
colors: {
  custom: {
    50: '#699273',
    500: '#2a663d',
    950: '#000000',
  },
}
SCSS
$custom: #2a663d;
$custom-light: #699273;
$custom-dark: #000000;
JSON
{
  "hex": "#2a663d",
  "rgb": {
    "r": 42,
    "g": 102,
    "b": 61
  },
  "hsl": {
    "h": 139,
    "s": 41.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.45902,
    "c": 0.09144,
    "h": 151.5
  },
  "luminance": 0.10332
}

Semantic roles & 50–950 ramp

primary
#2A663D
secondary
#985483
accent
#56AAD1
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #2A663D

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

Preview Lab → · Contrast checker → · Palette generator →

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