#2A4E1A#2A4E1A

#2A4E1A is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.4% C 0.090 H 137.3°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#2A4E1A
RGBrgb(42, 78, 26)
HSLhsl(102, 50%, 20%)
HSVhsv(102, 67%, 31%)
CMYKcmyk(46.2%, 0%, 66.7%, 69.4%)
CIE-LABlab(29.45, -23.96, 26.18)
CIE-LCHlch(29.45, 35.49, 132.47°)
OKLaboklab(38.37% -0.0661 0.0611)
OKLCHoklch(38.37% 0.09 137.3)
XYZxyz(3.8656, 6.0154, 1.9345)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E1A #3E1A4E
analogous
#444E1A #2A4E1A #1A4E24
triadic
#2A4E1A #1A2A4E #4E1A2A
tetradic
#2A4E1A #1A444E #3E1A4E #4E241A
square
#2A4E1A #1A444E #3E1A4E #4E241A
split-complementary
#2A4E1A #241A4E #4E1A44
monochromatic
#0C1708 #11200B #2A4E1A #437C29 #5BAA39

Accessibility & contrast

On white

9.53
#2A4E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2A4E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E1A
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E1A#FFFFFF#000000##FFFFFF
##2A4E1A1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514714
Deuteranopia (green-blind)
#4C441E
Tritanopia (blue-blind)
#284B43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a4e1a;
/* rgb */ color: rgb(42, 78, 26);
/* oklch */ color: oklch(38.4% 0.090 137.3);
Tailwind
colors: {
  custom: {
    50: '#678059',
    500: '#2a4e1a',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e1a;
$custom-light: #678059;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e1a",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 26
  },
  "hsl": {
    "h": 101.538,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38373,
    "c": 0.09003,
    "h": 137.3
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#2A4E1A
secondary
#6F4084
accent
#4EDAAF
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2A4E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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