#2A663F#2A663F

#2A663F is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.9% C 0.089 H 152.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2A663F
RGBrgb(42, 102, 63)
HSLhsl(141, 42%, 28%)
HSVhsv(141, 59%, 40%)
CMYKcmyk(58.8%, 0%, 38.2%, 60%)
CIE-LABlab(38.47, -29.24, 16.34)
CIE-LCHlch(38.47, 33.50, 150.79°)
OKLaboklab(45.95% -0.0794 0.041)
OKLCHoklch(45.95% 0.089 152.7)
XYZxyz(6.6029, 10.3533, 6.3521)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A663F #662A51
analogous
#33662A #2A663F #2A665D
triadic
#2A663F #3F2A66 #663F2A
tetradic
#2A663F #2A3366 #662A51 #665D2A
square
#2A663F #2A3366 #662A51 #665D2A
split-complementary
#2A663F #5D2A66 #662A33
monochromatic
#09160D #183B24 #2A663F #3C915A #52B876

Accessibility & contrast

On white

6.84
#2A663F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A663F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A663F#FFFFFF#000000##FFFFFF
##2A663F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665E3C
Deuteranopia (green-blind)
#5E5841
Tritanopia (blue-blind)
#19655C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a663f;
/* rgb */ color: rgb(42, 102, 63);
/* oklch */ color: oklch(45.9% 0.089 152.7);
Tailwind
colors: {
  custom: {
    50: '#699274',
    500: '#2a663f',
    950: '#000000',
  },
}
SCSS
$custom: #2a663f;
$custom-light: #699274;
$custom-dark: #000000;
JSON
{
  "hex": "#2a663f",
  "rgb": {
    "r": 42,
    "g": 102,
    "b": 63
  },
  "hsl": {
    "h": 141,
    "s": 41.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.45946,
    "c": 0.0893,
    "h": 152.7
  },
  "luminance": 0.10354
}

Semantic roles & 50–950 ramp

primary
#2A663F
secondary
#985480
accent
#56A6D1
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #2A663F

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

Preview Lab → · Contrast checker → · Palette generator →

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