#2A551A#2A551A

#2A551A is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.4% C 0.101 H 138.3°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#2A551A
RGBrgb(42, 85, 26)
HSLhsl(104, 53%, 22%)
HSVhsv(104, 69%, 33%)
CMYKcmyk(50.6%, 0%, 69.4%, 66.7%)
CIE-LABlab(31.95, -27.30, 28.96)
CIE-LCHlch(31.95, 39.80, 133.30°)
OKLaboklab(40.42% -0.0752 0.067)
OKLCHoklch(40.42% 0.101 138.3)
XYZxyz(4.3896, 7.0635, 2.1092)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A551A #451A55
analogous
#48551A #2A551A #1A5528
triadic
#2A551A #1A2A55 #551A2A
tetradic
#2A551A #1A4855 #451A55 #55281A
square
#2A551A #1A4855 #451A55 #55281A
split-complementary
#2A551A #281A55 #551A48
monochromatic
#0C1707 #13260C #2A551A #418428 #58B337

Accessibility & contrast

On white

8.70
#2A551A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2A551A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A551A
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A551A#FFFFFF#000000##FFFFFF
##2A551A1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D13
Deuteranopia (green-blind)
#524A1F
Tritanopia (blue-blind)
#275249
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a551a;
/* rgb */ color: rgb(42, 85, 26);
/* oklch */ color: oklch(40.4% 0.101 138.3);
Tailwind
colors: {
  custom: {
    50: '#688559',
    500: '#2a551a',
    950: '#000000',
  },
}
SCSS
$custom: #2a551a;
$custom-light: #688559;
$custom-dark: #000000;
JSON
{
  "hex": "#2a551a",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 26
  },
  "hsl": {
    "h": 103.729,
    "s": 53.153,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40421,
    "c": 0.10072,
    "h": 138.3
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

primary
#2A551A
secondary
#77408B
accent
#4BDDB5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2A551A

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

Preview Lab → · Contrast checker → · Palette generator →

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