#2A5336#2A5336

#2A5336 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.3% C 0.068 H 151.8°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2A5336
RGBrgb(42, 83, 54)
HSLhsl(138, 33%, 25%)
HSVhsv(138, 49%, 33%)
CMYKcmyk(49.4%, 0%, 34.9%, 67.5%)
CIE-LABlab(31.68, -21.82, 12.65)
CIE-LCHlch(31.68, 25.22, 149.91°)
OKLaboklab(40.34% -0.0595 0.0319)
OKLCHoklch(40.34% 0.068 151.8)
XYZxyz(4.7136, 6.9448, 4.5814)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5336 #532A47
analogous
#33532A #2A5336 #2A534B
triadic
#2A5336 #362A53 #53362A
tetradic
#2A5336 #2A3353 #532A47 #534B2A
square
#2A5336 #2A3353 #532A47 #534B2A
split-complementary
#2A5336 #4B2A53 #532A33
monochromatic
#0A140D #152A1C #2A5336 #3F7C50 #53A46B

Accessibility & contrast

On white

8.79
#2A5336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A5336
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5336#FFFFFF#000000##FFFFFF
##2A53361.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D34
Deuteranopia (green-blind)
#4D4938
Tritanopia (blue-blind)
#22524B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a5336;
/* rgb */ color: rgb(42, 83, 54);
/* oklch */ color: oklch(40.3% 0.068 151.8);
Tailwind
colors: {
  custom: {
    50: '#66836d',
    500: '#2a5336',
    950: '#000000',
  },
}
SCSS
$custom: #2a5336;
$custom-light: #66836d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5336",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 54
  },
  "hsl": {
    "h": 137.561,
    "s": 32.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.40342,
    "c": 0.06751,
    "h": 151.8
  },
  "luminance": 0.06945
}

Semantic roles & 50–950 ramp

primary
#2A5336
secondary
#855477
accent
#5FAAC9
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B07
muted
#7A7C7A

Preview Lab

Preview with #2A5336

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

Preview Lab → · Contrast checker → · Palette generator →

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