#2A5331#2A5331

#2A5331 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.2% C 0.073 H 148.0°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#2A5331
RGBrgb(42, 83, 49)
HSLhsl(130, 33%, 25%)
HSVhsv(130, 49%, 33%)
CMYKcmyk(49.4%, 0%, 41%, 67.5%)
CIE-LABlab(31.58, -22.84, 15.58)
CIE-LCHlch(31.58, 27.65, 145.71°)
OKLaboklab(40.23% -0.0621 0.0388)
OKLCHoklch(40.23% 0.073 148)
XYZxyz(4.6022, 6.9002, 3.9945)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5331 #532A4C
analogous
#38532A #2A5331 #2A5346
triadic
#2A5331 #312A53 #53312A
tetradic
#2A5331 #2A3853 #532A4C #53462A
square
#2A5331 #2A3853 #532A4C #53462A
split-complementary
#2A5331 #462A53 #532A38
monochromatic
#0A140C #152A19 #2A5331 #3F7C49 #53A461

Accessibility & contrast

On white

8.82
#2A5331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2A5331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5331
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5331#FFFFFF#000000##FFFFFF
##2A53311.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2F
Deuteranopia (green-blind)
#4E4933
Tritanopia (blue-blind)
#23514A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a5331;
/* rgb */ color: rgb(42, 83, 49);
/* oklch */ color: oklch(40.2% 0.073 148.0);
Tailwind
colors: {
  custom: {
    50: '#668469',
    500: '#2a5331',
    950: '#000000',
  },
}
SCSS
$custom: #2a5331;
$custom-light: #668469;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5331",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 49
  },
  "hsl": {
    "h": 130.244,
    "s": 32.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.40225,
    "c": 0.07323,
    "h": 148
  },
  "luminance": 0.06901
}

Semantic roles & 50–950 ramp

primary
#2A5331
secondary
#85547D
accent
#5FB7C9
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #2A5331

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

Preview Lab → · Contrast checker → · Palette generator →

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