#2A891F#2A891F

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

Color values

HEX#2A891F
RGBrgb(42, 137, 31)
HSLhsl(114, 63%, 33%)
HSVhsv(114, 77%, 54%)
CMYKcmyk(69.3%, 0%, 77.4%, 46.3%)
CIE-LABlab(50.07, -47.61, 45.66)
CIE-LCHlch(50.07, 65.97, 136.20°)
OKLaboklab(55.4% -0.1299 0.1027)
OKLCHoklch(55.4% 0.166 141.7)
XYZxyz(10.1473, 18.4814, 4.3286)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A891F #7E1F89
analogous
#5F891F #2A891F #1F8949
triadic
#2A891F #1F2A89 #891F2A
tetradic
#2A891F #1F5F89 #7E1F89 #89491F
square
#2A891F #1F5F89 #7E1F89 #89491F
split-complementary
#2A891F #491F89 #891F5F
monochromatic
#0B2508 #1B5714 #2A891F #39BB2A #5AD64C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A891F#FFFFFF#000000##000000
##2A891F1.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)
#8C7C08
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#158575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a891f;
/* rgb */ color: rgb(42, 137, 31);
/* oklch */ color: oklch(55.4% 0.166 141.7);
Tailwind
colors: {
  custom: {
    50: '#72ac63',
    500: '#2a891f',
    950: '#000000',
  },
}
SCSS
$custom: #2a891f;
$custom-light: #72ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#2a891f",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 113.774,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55396,
    "c": 0.16556,
    "h": 141.7
  },
  "luminance": 0.18482
}

Semantic roles & 50–950 ramp

primary
#2A891F
secondary
#AE4BB9
accent
#42E6D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A891F

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

Preview Lab → · Contrast checker → · Palette generator →

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