#2A8F16#2A8F16

#2A8F16 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.177 H 141.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2A8F16
RGBrgb(42, 143, 22)
HSLhsl(110, 73%, 32%)
HSVhsv(110, 85%, 56%)
CMYKcmyk(70.6%, 0%, 84.6%, 43.9%)
CIE-LABlab(52.06, -50.26, 50.41)
CIE-LCHlch(52.06, 71.18, 134.92°)
OKLaboklab(57.02% -0.1374 0.1113)
OKLCHoklch(57.02% 0.177 141)
XYZxyz(10.9215, 20.1939, 4.0811)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8F16 #7B168F
analogous
#668F16 #2A8F16 #168F3F
triadic
#2A8F16 #162A8F #8F162A
tetradic
#2A8F16 #16668F #7B168F #8F3F16
square
#2A8F16 #16668F #7B168F #8F3F16
split-complementary
#2A8F16 #3F168F #8F1666
monochromatic
#0B2506 #1A5A0E #2A8F16 #3AC41E #59E13E

Accessibility & contrast

On white

4.17
#2A8F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#2A8F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8F16
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8F16#FFFFFF#000000##000000
##2A8F161.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#138A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8f16;
/* rgb */ color: rgb(42, 143, 22);
/* oklch */ color: oklch(57.0% 0.177 141.0);
Tailwind
colors: {
  custom: {
    50: '#74b160',
    500: '#2a8f16',
    950: '#000000',
  },
}
SCSS
$custom: #2a8f16;
$custom-light: #74b160;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8f16",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 110.083,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57024,
    "c": 0.17687,
    "h": 141
  },
  "luminance": 0.20195
}

Semantic roles & 50–950 ramp

primary
#2A8F16
secondary
#AC3FC1
accent
#38F0D2
background
#F7FBF5
surface
#EEF6EA
border
#C9D0C6
text
#091105
muted
#7B8079

Preview Lab

Preview with #2A8F16

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

Preview Lab → · Contrast checker → · Palette generator →

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