#2A501E#2A501E

#2A501E is a dark, moderate green. Relative luminance 0.063; OKLCH L 39.0% C 0.089 H 138.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#2A501E
RGBrgb(42, 80, 30)
HSLhsl(106, 45%, 22%)
HSVhsv(106, 63%, 31%)
CMYKcmyk(47.5%, 0%, 62.5%, 68.6%)
CIE-LABlab(30.21, -24.45, 24.92)
CIE-LCHlch(30.21, 34.91, 134.45°)
OKLaboklab(39.01% -0.0672 0.0588)
OKLCHoklch(39.01% 0.089 138.8)
XYZxyz(4.0577, 6.3231, 2.2347)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A501E #441E50
analogous
#43501E #2A501E #1E502B
triadic
#2A501E #1E2A50 #501E2A
tetradic
#2A501E #1E4350 #441E50 #502B1E
square
#2A501E #1E4350 #441E50 #502B1E
split-complementary
#2A501E #2B1E50 #501E43
monochromatic
#0C1608 #13230D #2A501E #417D2F #59A93F

Accessibility & contrast

On white

9.27
#2A501E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2A501E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A501E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A501E#FFFFFF#000000##FFFFFF
##2A501E1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524919
Deuteranopia (green-blind)
#4D4622
Tritanopia (blue-blind)
#274D45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a501e;
/* rgb */ color: rgb(42, 80, 30);
/* oklch */ color: oklch(39.0% 0.089 138.8);
Tailwind
colors: {
  custom: {
    50: '#67815b',
    500: '#2a501e',
    950: '#000000',
  },
}
SCSS
$custom: #2a501e;
$custom-light: #67815b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a501e",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 30
  },
  "hsl": {
    "h": 105.6,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39011,
    "c": 0.08926,
    "h": 138.8
  },
  "luminance": 0.06323
}

Semantic roles & 50–950 ramp

primary
#2A501E
secondary
#764585
accent
#53D5B6
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2A501E

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

Preview Lab → · Contrast checker → · Palette generator →

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