#2A5833#2A5833

#2A5833 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.7% C 0.080 H 148.5°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2A5833
RGBrgb(42, 88, 51)
HSLhsl(132, 35%, 25%)
HSVhsv(132, 52%, 35%)
CMYKcmyk(52.3%, 0%, 42%, 65.5%)
CIE-LABlab(33.37, -24.94, 16.73)
CIE-LCHlch(33.37, 30.04, 146.14°)
OKLaboklab(41.7% -0.0677 0.0416)
OKLCHoklch(41.7% 0.08 148.5)
XYZxyz(5.0418, 7.7103, 4.3539)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5833 #582A4F
analogous
#38582A #2A5833 #2A584A
triadic
#2A5833 #332A58 #58332A
tetradic
#2A5833 #2A3858 #582A4F #584A2A
square
#2A5833 #2A3858 #582A4F #584A2A
split-complementary
#2A5833 #4A2A58 #582A38
monochromatic
#0A150C #162F1B #2A5833 #3E814B #52AB63

Accessibility & contrast

On white

8.26
#2A5833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2A5833 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5833
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5833#FFFFFF#000000##FFFFFF
##2A58331.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595130
Deuteranopia (green-blind)
#524D35
Tritanopia (blue-blind)
#22564F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a5833;
/* rgb */ color: rgb(42, 88, 51);
/* oklch */ color: oklch(41.7% 0.080 148.5);
Tailwind
colors: {
  custom: {
    50: '#67876b',
    500: '#2a5833',
    950: '#000000',
  },
}
SCSS
$custom: #2a5833;
$custom-light: #67876b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5833",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 51
  },
  "hsl": {
    "h": 131.739,
    "s": 35.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.41701,
    "c": 0.0795,
    "h": 148.5
  },
  "luminance": 0.07711
}

Semantic roles & 50–950 ramp

primary
#2A5833
secondary
#8A5380
accent
#5CB6CB
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #2A5833

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

Preview Lab → · Contrast checker → · Palette generator →

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