#2A481E#2A481E

#2A481E is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.7% C 0.076 H 137.5°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#2A481E
RGBrgb(42, 72, 30)
HSLhsl(103, 41%, 20%)
HSVhsv(103, 58%, 28%)
CMYKcmyk(41.7%, 0%, 58.3%, 71.8%)
CIE-LABlab(27.35, -20.42, 21.53)
CIE-LCHlch(27.35, 29.68, 133.48°)
OKLaboklab(36.68% -0.0562 0.0514)
OKLCHoklch(36.68% 0.076 137.5)
XYZxyz(3.5064, 5.2205, 2.0510)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A481E #3C1E48
analogous
#3F481E #2A481E #1E4827
triadic
#2A481E #1E2A48 #481E2A
tetradic
#2A481E #1E3F48 #3C1E48 #48271E
square
#2A481E #1E3F48 #3C1E48 #48271E
split-complementary
#2A481E #271E48 #481E3F
monochromatic
#0D1609 #111D0C #2A481E #437330 #5C9E42

Accessibility & contrast

On white

10.27
#2A481E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2A481E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A481E
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A481E#FFFFFF#000000##FFFFFF
##2A481E1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A421A
Deuteranopia (green-blind)
#464021
Tritanopia (blue-blind)
#29463E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a481e;
/* rgb */ color: rgb(42, 72, 30);
/* oklch */ color: oklch(36.7% 0.076 137.5);
Tailwind
colors: {
  custom: {
    50: '#667b5b',
    500: '#2a481e',
    950: '#000000',
  },
}
SCSS
$custom: #2a481e;
$custom-light: #667b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a481e",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 30
  },
  "hsl": {
    "h": 102.857,
    "s": 41.176,
    "l": 20
  },
  "oklch": {
    "l": 0.36677,
    "c": 0.07614,
    "h": 137.5
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#2A481E
secondary
#6D457D
accent
#57D1AE
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2A481E

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

Preview Lab → · Contrast checker → · Palette generator →

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