#2A4024#2A4024

#2A4024 is a dark, muted green. Relative luminance 0.043; OKLCH L 34.5% C 0.055 H 139.1°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#2A4024
RGBrgb(42, 64, 36)
HSLhsl(107, 28%, 20%)
HSVhsv(107, 44%, 25%)
CMYKcmyk(34.4%, 0%, 43.8%, 74.9%)
CIE-LABlab(24.60, -15.12, 14.45)
CIE-LCHlch(24.60, 20.91, 136.30°)
OKLaboklab(34.47% -0.0413 0.0358)
OKLCHoklch(34.47% 0.055 139.1)
XYZxyz(3.1066, 4.2863, 2.3324)
Luminance0.0429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4024 #3A2440
analogous
#384024 #2A4024 #24402C
triadic
#2A4024 #242A40 #40242A
tetradic
#2A4024 #243840 #3A2440 #402C24
square
#2A4024 #243840 #3A2440 #402C24
split-complementary
#2A4024 #2C2440 #402438
monochromatic
#0D140B #10190E #2A4024 #44673A #5D8E50

Accessibility & contrast

On white

11.31
#2A4024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2A4024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4024
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4024#FFFFFF#000000##FFFFFF
##2A40241.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C22
Deuteranopia (green-blind)
#3E3A26
Tritanopia (blue-blind)
#293E39
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a4024;
/* rgb */ color: rgb(42, 64, 36);
/* oklch */ color: oklch(34.5% 0.055 139.1);
Tailwind
colors: {
  custom: {
    50: '#64755f',
    500: '#2a4024',
    950: '#000000',
  },
}
SCSS
$custom: #2a4024;
$custom-light: #64755f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4024",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 36
  },
  "hsl": {
    "h": 107.143,
    "s": 28,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3447,
    "c": 0.05462,
    "h": 139.1
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

primary
#2A4024
secondary
#6B4D73
accent
#63C4B0
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#050804
muted
#7A7B79

Preview Lab

Preview with #2A4024

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

Preview Lab → · Contrast checker → · Palette generator →

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