#2A481F#2A481F

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

Color values

HEX#2A481F
RGBrgb(42, 72, 31)
HSLhsl(104, 40%, 20%)
HSVhsv(104, 57%, 28%)
CMYKcmyk(41.7%, 0%, 56.9%, 71.8%)
CIE-LABlab(27.37, -20.28, 20.97)
CIE-LCHlch(27.37, 29.17, 134.04°)
OKLaboklab(36.69% -0.0557 0.0503)
OKLCHoklch(36.69% 0.075 137.9)
XYZxyz(3.5194, 5.2257, 2.1193)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A481F #3D1F48
analogous
#3F481F #2A481F #1F4828
triadic
#2A481F #1F2A48 #481F2A
tetradic
#2A481F #1F3F48 #3D1F48 #48281F
square
#2A481F #1F3F48 #3D1F48 #48281F
split-complementary
#2A481F #281F48 #481F3F
monochromatic
#0C1509 #111D0D #2A481F #437331 #5C9E44

Accessibility & contrast

On white

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

On black

2.05
#2A481F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A481F#FFFFFF#000000##FFFFFF
##2A481F1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A421B
Deuteranopia (green-blind)
#464022
Tritanopia (blue-blind)
#28463F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a481f;
/* rgb */ color: rgb(42, 72, 31);
/* oklch */ color: oklch(36.7% 0.075 137.9);
Tailwind
colors: {
  custom: {
    50: '#667b5c',
    500: '#2a481f',
    950: '#000000',
  },
}
SCSS
$custom: #2a481f;
$custom-light: #667b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a481f",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 31
  },
  "hsl": {
    "h": 103.902,
    "s": 39.806,
    "l": 20.196
  },
  "oklch": {
    "l": 0.36693,
    "c": 0.07503,
    "h": 137.9
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

primary
#2A481F
secondary
#6E467D
accent
#58D0B0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2A481F

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

Preview Lab → · Contrast checker → · Palette generator →

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