#2A5337#2A5337

#2A5337 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.4% C 0.066 H 152.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2A5337
RGBrgb(42, 83, 55)
HSLhsl(139, 33%, 25%)
HSVhsv(139, 49%, 33%)
CMYKcmyk(49.4%, 0%, 33.7%, 67.5%)
CIE-LABlab(31.70, -21.61, 12.06)
CIE-LCHlch(31.70, 24.74, 150.84°)
OKLaboklab(40.37% -0.059 0.0305)
OKLCHoklch(40.37% 0.066 152.7)
XYZxyz(4.7374, 6.9542, 4.7064)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5337 #532A46
analogous
#32532A #2A5337 #2A534C
triadic
#2A5337 #372A53 #53372A
tetradic
#2A5337 #2A3253 #532A46 #534C2A
square
#2A5337 #2A3253 #532A46 #534C2A
split-complementary
#2A5337 #4C2A53 #532A32
monochromatic
#0A140D #152A1C #2A5337 #3F7C52 #53A46D

Accessibility & contrast

On white

8.78
#2A5337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2A5337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5337
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5337#FFFFFF#000000##FFFFFF
##2A53371.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D35
Deuteranopia (green-blind)
#4D4939
Tritanopia (blue-blind)
#22524C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a5337;
/* rgb */ color: rgb(42, 83, 55);
/* oklch */ color: oklch(40.4% 0.066 152.7);
Tailwind
colors: {
  custom: {
    50: '#66836e',
    500: '#2a5337',
    950: '#000000',
  },
}
SCSS
$custom: #2a5337;
$custom-light: #66836e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5337",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 55
  },
  "hsl": {
    "h": 139.024,
    "s": 32.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.40367,
    "c": 0.06638,
    "h": 152.7
  },
  "luminance": 0.06955
}

Semantic roles & 50–950 ramp

primary
#2A5337
secondary
#855476
accent
#5FA7C9
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B07
muted
#7A7C7A

Preview Lab

Preview with #2A5337

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

Preview Lab → · Contrast checker → · Palette generator →

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