#2A421F#2A421F

#2A421F is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.9% C 0.065 H 136.6°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2A421F
RGBrgb(42, 66, 31)
HSLhsl(101, 36%, 19%)
HSVhsv(101, 53%, 26%)
CMYKcmyk(36.4%, 0%, 53%, 74.1%)
CIE-LABlab(25.22, -17.07, 18.34)
CIE-LCHlch(25.22, 25.05, 132.95°)
OKLaboklab(34.95% -0.0469 0.0444)
OKLCHoklch(34.95% 0.065 136.6)
XYZxyz(3.1503, 4.4875, 1.9962)
Luminance0.0449 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A421F #371F42
analogous
#3C421F #2A421F #1F4226
triadic
#2A421F #1F2A42 #421F2A
tetradic
#2A421F #1F3C42 #371F42 #42261F
square
#2A421F #1F3C42 #371F42 #42261F
split-complementary
#2A421F #261F42 #421F3C
monochromatic
#0D150A #10180B #2A421F #446C33 #5F9546

Accessibility & contrast

On white

11.07
#2A421F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2A421F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A421F
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A421F#FFFFFF#000000##FFFFFF
##2A421F1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1C
Deuteranopia (green-blind)
#413B21
Tritanopia (blue-blind)
#29403A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a421f;
/* rgb */ color: rgb(42, 66, 31);
/* oklch */ color: oklch(34.9% 0.065 136.6);
Tailwind
colors: {
  custom: {
    50: '#65765b',
    500: '#2a421f',
    950: '#000000',
  },
}
SCSS
$custom: #2a421f;
$custom-light: #65765b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a421f",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 31
  },
  "hsl": {
    "h": 101.143,
    "s": 36.082,
    "l": 19.02
  },
  "oklch": {
    "l": 0.34948,
    "c": 0.06456,
    "h": 136.6
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#2A421F
secondary
#674776
accent
#5CCCA9
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#050804
muted
#7A7B79

Preview Lab

Preview with #2A421F

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

Preview Lab → · Contrast checker → · Palette generator →

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