#2A8310#2A8310

#2A8310 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.6% C 0.166 H 140.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2A8310
RGBrgb(42, 131, 16)
HSLhsl(106, 78%, 29%)
HSVhsv(106, 88%, 51%)
CMYKcmyk(67.9%, 0%, 87.8%, 48.6%)
CIE-LABlab(47.96, -46.41, 48.28)
CIE-LCHlch(47.96, 66.97, 133.87°)
OKLaboklab(53.62% -0.1273 0.106)
OKLCHoklch(53.62% 0.166 140.2)
XYZxyz(9.1642, 16.7613, 3.2424)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8310 #691083
analogous
#648310 #2A8310 #108330
triadic
#2A8310 #102A83 #83102A
tetradic
#2A8310 #106483 #691083 #833010
square
#2A8310 #106483 #691083 #833010
split-complementary
#2A8310 #301083 #831064
monochromatic
#091B03 #194C09 #2A8310 #3BBA17 #53E529

Accessibility & contrast

On white

4.82
#2A8310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2A8310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8310
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8310#FFFFFF#000000##FFFFFF
##2A83101.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#1B7E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a8310;
/* rgb */ color: rgb(42, 131, 16);
/* oklch */ color: oklch(53.6% 0.166 140.2);
Tailwind
colors: {
  custom: {
    50: '#71a85c',
    500: '#2a8310',
    950: '#000000',
  },
}
SCSS
$custom: #2a8310;
$custom-light: #71a85c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8310",
  "rgb": {
    "r": 42,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 106.435,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53616,
    "c": 0.16569,
    "h": 140.2
  },
  "luminance": 0.16762
}

Semantic roles & 50–950 ramp

primary
#2A8310
secondary
#9B36B9
accent
#33F5C9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091004
muted
#7B7F79

Preview Lab

Preview with #2A8310

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

Preview Lab → · Contrast checker → · Palette generator →

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