#2A5F1A#2A5F1A

#2A5F1A is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.3% C 0.115 H 139.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2A5F1A
RGBrgb(42, 95, 26)
HSLhsl(106, 57%, 24%)
HSVhsv(106, 73%, 37%)
CMYKcmyk(55.8%, 0%, 72.6%, 62.7%)
CIE-LABlab(35.50, -31.77, 32.79)
CIE-LCHlch(35.50, 45.65, 134.09°)
OKLaboklab(43.34% -0.0873 0.0751)
OKLCHoklch(43.34% 0.115 139.3)
XYZxyz(5.2333, 8.7508, 2.3904)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5F1A #4F1A5F
analogous
#4C5F1A #2A5F1A #1A5F2C
triadic
#2A5F1A #1A2A5F #5F1A2A
tetradic
#2A5F1A #1A4C5F #4F1A5F #5F2C1A
square
#2A5F1A #1A4C5F #4F1A5F #5F2C1A
split-complementary
#2A5F1A #2C1A5F #5F1A4C
monochromatic
#0B1807 #152F0D #2A5F1A #3F8F27 #54BF34

Accessibility & contrast

On white

7.64
#2A5F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2A5F1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5F1A
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5F1A#FFFFFF#000000##FFFFFF
##2A5F1A1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625610
Deuteranopia (green-blind)
#5B5220
Tritanopia (blue-blind)
#255C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5f1a;
/* rgb */ color: rgb(42, 95, 26);
/* oklch */ color: oklch(43.3% 0.115 139.3);
Tailwind
colors: {
  custom: {
    50: '#6a8d5b',
    500: '#2a5f1a',
    950: '#000000',
  },
}
SCSS
$custom: #2a5f1a;
$custom-light: #6a8d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5f1a",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 26
  },
  "hsl": {
    "h": 106.087,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43337,
    "c": 0.11517,
    "h": 139.3
  },
  "luminance": 0.08751
}

Semantic roles & 50–950 ramp

primary
#2A5F1A
secondary
#814095
accent
#48E0BD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2A5F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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