#2A4826#2A4826

#2A4826 is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.8% C 0.067 H 141.5°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#2A4826
RGBrgb(42, 72, 38)
HSLhsl(113, 31%, 22%)
HSVhsv(113, 47%, 28%)
CMYKcmyk(41.7%, 0%, 47.2%, 71.8%)
CIE-LABlab(27.48, -19.16, 16.94)
CIE-LCHlch(27.48, 25.58, 138.52°)
OKLaboklab(36.82% -0.0523 0.0416)
OKLCHoklch(36.82% 0.067 141.5)
XYZxyz(3.6219, 5.2667, 2.6591)
Luminance0.0527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4826 #442648
analogous
#3B4826 #2A4826 #264833
triadic
#2A4826 #262A48 #48262A
tetradic
#2A4826 #263B48 #442648 #483326
square
#2A4826 #263B48 #442648 #483326
split-complementary
#2A4826 #332648 #48263B
monochromatic
#0C140B #132011 #2A4826 #41703B #599850

Accessibility & contrast

On white

10.23
#2A4826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4826
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4826#FFFFFF#000000##FFFFFF
##2A48261.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4323
Deuteranopia (green-blind)
#454028
Tritanopia (blue-blind)
#274640
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a4826;
/* rgb */ color: rgb(42, 72, 38);
/* oklch */ color: oklch(36.8% 0.067 141.5);
Tailwind
colors: {
  custom: {
    50: '#657b61',
    500: '#2a4826',
    950: '#000000',
  },
}
SCSS
$custom: #2a4826;
$custom-light: #657b61;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4826",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 38
  },
  "hsl": {
    "h": 112.941,
    "s": 30.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.36822,
    "c": 0.06683,
    "h": 141.5
  },
  "luminance": 0.05267
}

Semantic roles & 50–950 ramp

primary
#2A4826
secondary
#764F7B
accent
#61C7BB
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060905
muted
#7A7B79

Preview Lab

Preview with #2A4826

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

Preview Lab → · Contrast checker → · Palette generator →

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