#2A4E27#2A4E27

#2A4E27 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.6% C 0.076 H 142.3°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2A4E27
RGBrgb(42, 78, 39)
HSLhsl(115, 33%, 23%)
HSVhsv(115, 50%, 31%)
CMYKcmyk(46.2%, 0%, 50%, 69.4%)
CIE-LABlab(29.63, -22.12, 19.08)
CIE-LCHlch(29.63, 29.21, 139.22°)
OKLaboklab(38.58% -0.0603 0.0465)
OKLCHoklch(38.58% 0.076 142.3)
XYZxyz(4.0453, 6.0873, 2.8809)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E27 #4B274E
analogous
#3D4E27 #2A4E27 #274E37
triadic
#2A4E27 #272A4E #4E272A
tetradic
#2A4E27 #273D4E #4B274E #4E3727
square
#2A4E27 #273D4E #4B274E #4E3727
split-complementary
#2A4E27 #37274E #4E273D
monochromatic
#0B140A #142513 #2A4E27 #40773B #56A050

Accessibility & contrast

On white

9.47
#2A4E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2A4E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E27
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E27#FFFFFF#000000##FFFFFF
##2A4E271.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504824
Deuteranopia (green-blind)
#4B4529
Tritanopia (blue-blind)
#264C45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4e27;
/* rgb */ color: rgb(42, 78, 39);
/* oklch */ color: oklch(38.6% 0.076 142.3);
Tailwind
colors: {
  custom: {
    50: '#668062',
    500: '#2a4e27',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e27;
$custom-light: #668062;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e27",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 39
  },
  "hsl": {
    "h": 115.385,
    "s": 33.333,
    "l": 22.941
  },
  "oklch": {
    "l": 0.38578,
    "c": 0.07617,
    "h": 142.3
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#2A4E27
secondary
#7D5081
accent
#5EC9C1
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #2A4E27

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

Preview Lab → · Contrast checker → · Palette generator →

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