#2A4E1B#2A4E1B

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

Color values

HEX#2A4E1B
RGBrgb(42, 78, 27)
HSLhsl(102, 49%, 21%)
HSVhsv(102, 65%, 31%)
CMYKcmyk(46.2%, 0%, 65.4%, 69.4%)
CIE-LABlab(29.46, -23.84, 25.66)
CIE-LCHlch(29.46, 35.03, 132.90°)
OKLaboklab(38.39% -0.0657 0.0601)
OKLCHoklch(38.39% 0.089 137.6)
XYZxyz(3.8769, 6.0199, 1.9944)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E1B #3F1B4E
analogous
#434E1B #2A4E1B #1B4E25
triadic
#2A4E1B #1B2A4E #4E1B2A
tetradic
#2A4E1B #1B434E #3F1B4E #4E251B
square
#2A4E1B #1B434E #3F1B4E #4E251B
split-complementary
#2A4E1B #251B4E #4E1B43
monochromatic
#0C1708 #12210B #2A4E1B #427B2B #5BA93A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A4E1B#FFFFFF#000000##FFFFFF
##2A4E1B1.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)
#514716
Deuteranopia (green-blind)
#4C441F
Tritanopia (blue-blind)
#284B43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a4e1b;
/* rgb */ color: rgb(42, 78, 27);
/* oklch */ color: oklch(38.4% 0.089 137.6);
Tailwind
colors: {
  custom: {
    50: '#678059',
    500: '#2a4e1b',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e1b;
$custom-light: #678059;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e1b",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 27
  },
  "hsl": {
    "h": 102.353,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38386,
    "c": 0.08906,
    "h": 137.6
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#2A4E1B
secondary
#704184
accent
#50D8B0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2A4E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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