#2A8114#2A8114

#2A8114 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.162 H 140.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2A8114
RGBrgb(42, 129, 20)
HSLhsl(108, 73%, 29%)
HSVhsv(108, 84%, 51%)
CMYKcmyk(67.4%, 0%, 84.5%, 49.4%)
CIE-LABlab(47.29, -45.49, 46.60)
CIE-LCHlch(47.29, 65.13, 134.31°)
OKLaboklab(53.07% -0.1247 0.1031)
OKLCHoklch(53.07% 0.162 140.4)
XYZxyz(8.9309, 16.2424, 3.3261)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8114 #6B1481
analogous
#618114 #2A8114 #148135
triadic
#2A8114 #142A81 #81142A
tetradic
#2A8114 #146181 #6B1481 #813514
square
#2A8114 #146181 #6B1481 #813514
split-complementary
#2A8114 #351481 #811461
monochromatic
#091A04 #194C0C #2A8114 #3BB61C #54DF30

Accessibility & contrast

On white

4.94
#2A8114 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2A8114 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8114
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8114#FFFFFF#000000##FFFFFF
##2A81141.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7A6E22
Tritanopia (blue-blind)
#1B7D6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a8114;
/* rgb */ color: rgb(42, 129, 20);
/* oklch */ color: oklch(53.1% 0.162 140.4);
Tailwind
colors: {
  custom: {
    50: '#71a65d',
    500: '#2a8114',
    950: '#000000',
  },
}
SCSS
$custom: #2a8114;
$custom-light: #71a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8114",
  "rgb": {
    "r": 42,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 107.89,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53069,
    "c": 0.16178,
    "h": 140.4
  },
  "luminance": 0.16243
}

Semantic roles & 50–950 ramp

primary
#2A8114
secondary
#9D3BB6
accent
#38F0CB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2A8114

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

Preview Lab → · Contrast checker → · Palette generator →

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