#2A891E#2A891E

#2A891E is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.166 H 141.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2A891E
RGBrgb(42, 137, 30)
HSLhsl(113, 64%, 33%)
HSVhsv(113, 78%, 54%)
CMYKcmyk(69.3%, 0%, 78.1%, 46.3%)
CIE-LABlab(50.07, -47.68, 46.01)
CIE-LCHlch(50.07, 66.27, 136.02°)
OKLaboklab(55.39% -0.1301 0.1033)
OKLCHoklch(55.39% 0.166 141.6)
XYZxyz(10.1343, 18.4762, 4.2602)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A891E #7D1E89
analogous
#5F891E #2A891E #1E8947
triadic
#2A891E #1E2A89 #891E2A
tetradic
#2A891E #1E5F89 #7D1E89 #89471E
square
#2A891E #1E5F89 #7D1E89 #89471E
split-complementary
#2A891E #471E89 #891E5F
monochromatic
#0B2508 #1B5713 #2A891E #39BB29 #5AD74A

Accessibility & contrast

On white

4.47
#2A891E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2A891E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A891E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A891E#FFFFFF#000000##000000
##2A891E1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C05
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#158575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a891e;
/* rgb */ color: rgb(42, 137, 30);
/* oklch */ color: oklch(55.4% 0.166 141.6);
Tailwind
colors: {
  custom: {
    50: '#72ac62',
    500: '#2a891e',
    950: '#000000',
  },
}
SCSS
$custom: #2a891e;
$custom-light: #72ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#2a891e",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 113.271,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55389,
    "c": 0.16612,
    "h": 141.6
  },
  "luminance": 0.18477
}

Semantic roles & 50–950 ramp

primary
#2A891E
secondary
#AD49BA
accent
#41E7D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2A891E

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

Preview Lab → · Contrast checker → · Palette generator →

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