#2A491F#2A491F

#2A491F is a dark, moderate green. Relative luminance 0.054; OKLCH L 37.0% C 0.077 H 138.1°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2A491F
RGBrgb(42, 73, 31)
HSLhsl(104, 40%, 20%)
HSVhsv(104, 58%, 29%)
CMYKcmyk(42.5%, 0%, 57.5%, 71.4%)
CIE-LABlab(27.73, -20.80, 21.41)
CIE-LCHlch(27.73, 29.85, 134.17°)
OKLaboklab(36.99% -0.0571 0.0512)
OKLCHoklch(36.99% 0.077 138.1)
XYZxyz(3.5846, 5.3561, 2.1410)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A491F #3E1F49
analogous
#3F491F #2A491F #1F4929
triadic
#2A491F #1F2A49 #491F2A
tetradic
#2A491F #1F3F49 #3E1F49 #49291F
square
#2A491F #1F3F49 #3E1F49 #49291F
split-complementary
#2A491F #291F49 #491F3F
monochromatic
#0C1509 #111E0D #2A491F #437431 #5B9F43

Accessibility & contrast

On white

10.14
#2A491F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2A491F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A491F
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A491F#FFFFFF#000000##FFFFFF
##2A491F1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431B
Deuteranopia (green-blind)
#474022
Tritanopia (blue-blind)
#28473F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a491f;
/* rgb */ color: rgb(42, 73, 31);
/* oklch */ color: oklch(37.0% 0.077 138.1);
Tailwind
colors: {
  custom: {
    50: '#667c5c',
    500: '#2a491f',
    950: '#000000',
  },
}
SCSS
$custom: #2a491f;
$custom-light: #667c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a491f",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 31
  },
  "hsl": {
    "h": 104.286,
    "s": 40.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.36985,
    "c": 0.07673,
    "h": 138.1
  },
  "luminance": 0.05356
}

Semantic roles & 50–950 ramp

primary
#2A491F
secondary
#6F467E
accent
#58D0B1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2A491F

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

Preview Lab → · Contrast checker → · Palette generator →

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