#2A9316#2A9316

#2A9316 is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.1% C 0.181 H 141.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2A9316
RGBrgb(42, 147, 22)
HSLhsl(110, 74%, 33%)
HSVhsv(110, 85%, 58%)
CMYKcmyk(71.4%, 0%, 85%, 42.4%)
CIE-LABlab(53.40, -51.61, 51.63)
CIE-LCHlch(53.40, 73.00, 134.99°)
OKLaboklab(58.14% -0.1411 0.1139)
OKLCHoklch(58.14% 0.181 141.1)
XYZxyz(11.5328, 21.4164, 4.2849)
Luminance0.2142 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9316 #7F1693
analogous
#689316 #2A9316 #169340
triadic
#2A9316 #162A93 #93162A
tetradic
#2A9316 #166893 #7F1693 #934016
square
#2A9316 #166893 #7F1693 #934016
split-complementary
#2A9316 #401693 #931668
monochromatic
#0C2906 #1B5E0E #2A9316 #39C81E #5BE341

Accessibility & contrast

On white

3.97
#2A9316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#2A9316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9316
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9316#FFFFFF#000000##000000
##2A93161.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#8B7C27
Tritanopia (blue-blind)
#108E7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2a9316;
/* rgb */ color: rgb(42, 147, 22);
/* oklch */ color: oklch(58.1% 0.181 141.1);
Tailwind
colors: {
  custom: {
    50: '#75b460',
    500: '#2a9316',
    950: '#000000',
  },
}
SCSS
$custom: #2a9316;
$custom-light: #75b460;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9316",
  "rgb": {
    "r": 42,
    "g": 147,
    "b": 22
  },
  "hsl": {
    "h": 110.4,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58142,
    "c": 0.18131,
    "h": 141.1
  },
  "luminance": 0.21418
}

Semantic roles & 50–950 ramp

primary
#2A9316
secondary
#AE42C3
accent
#37F1D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #2A9316

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

Preview Lab → · Contrast checker → · Palette generator →

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