#2A5733#2A5733

#2A5733 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.4% C 0.078 H 148.6°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#2A5733
RGBrgb(42, 87, 51)
HSLhsl(132, 35%, 25%)
HSVhsv(132, 52%, 34%)
CMYKcmyk(51.7%, 0%, 41.4%, 65.9%)
CIE-LABlab(33.02, -24.45, 16.27)
CIE-LCHlch(33.02, 29.37, 146.36°)
OKLaboklab(41.42% -0.0664 0.0405)
OKLCHoklch(41.42% 0.078 148.6)
XYZxyz(4.9603, 7.5473, 4.3267)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5733 #572A4E
analogous
#37572A #2A5733 #2A5749
triadic
#2A5733 #332A57 #57332A
tetradic
#2A5733 #2A3757 #572A4E #57492A
square
#2A5733 #2A3757 #572A4E #57492A
split-complementary
#2A5733 #492A57 #572A37
monochromatic
#0A150C #162E1B #2A5733 #3E804B #52AA63

Accessibility & contrast

On white

8.37
#2A5733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2A5733 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5733
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5733#FFFFFF#000000##FFFFFF
##2A57331.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585031
Deuteranopia (green-blind)
#514C35
Tritanopia (blue-blind)
#22554E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a5733;
/* rgb */ color: rgb(42, 87, 51);
/* oklch */ color: oklch(41.4% 0.078 148.6);
Tailwind
colors: {
  custom: {
    50: '#67876b',
    500: '#2a5733',
    950: '#000000',
  },
}
SCSS
$custom: #2a5733;
$custom-light: #67876b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5733",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 51
  },
  "hsl": {
    "h": 132,
    "s": 34.884,
    "l": 25.294
  },
  "oklch": {
    "l": 0.41415,
    "c": 0.0778,
    "h": 148.6
  },
  "luminance": 0.07548
}

Semantic roles & 50–950 ramp

primary
#2A5733
secondary
#89537F
accent
#5DB5CB
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #2A5733

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

Preview Lab → · Contrast checker → · Palette generator →

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