#2A801F#2A801F

#2A801F is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.155 H 141.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2A801F
RGBrgb(42, 128, 31)
HSLhsl(113, 61%, 31%)
HSVhsv(113, 76%, 50%)
CMYKcmyk(67.2%, 0%, 75.8%, 49.8%)
CIE-LABlab(47.01, -44.38, 42.60)
CIE-LCHlch(47.01, 61.52, 136.17°)
OKLaboklab(52.86% -0.1211 0.0963)
OKLCHoklch(52.86% 0.155 141.5)
XYZxyz(8.9209, 16.0286, 3.9198)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A801F #751F80
analogous
#5A801F #2A801F #1F8044
triadic
#2A801F #1F2A80 #801F2A
tetradic
#2A801F #1F5A80 #751F80 #80441F
square
#2A801F #1F5A80 #751F80 #80441F
split-complementary
#2A801F #441F80 #801F5A
monochromatic
#0A1D07 #1A4F13 #2A801F #3AB12B #57D247

Accessibility & contrast

On white

4.99
#2A801F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2A801F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A801F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A801F#FFFFFF#000000##FFFFFF
##2A801F1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740D
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#1A7C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a801f;
/* rgb */ color: rgb(42, 128, 31);
/* oklch */ color: oklch(52.9% 0.155 141.5);
Tailwind
colors: {
  custom: {
    50: '#70a661',
    500: '#2a801f',
    950: '#000000',
  },
}
SCSS
$custom: #2a801f;
$custom-light: #70a661;
$custom-dark: #000000;
JSON
{
  "hex": "#2a801f",
  "rgb": {
    "r": 42,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 113.196,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52858,
    "c": 0.15474,
    "h": 141.5
  },
  "luminance": 0.1603
}

Semantic roles & 50–950 ramp

primary
#2A801F
secondary
#A748B3
accent
#44E4D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2A801F

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

Preview Lab → · Contrast checker → · Palette generator →

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