#2A801B#2A801B

#2A801B is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.157 H 141.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2A801B
RGBrgb(42, 128, 27)
HSLhsl(111, 65%, 30%)
HSVhsv(111, 79%, 50%)
CMYKcmyk(67.2%, 0%, 78.9%, 49.8%)
CIE-LABlab(46.99, -44.69, 44.06)
CIE-LCHlch(46.99, 62.75, 135.41°)
OKLaboklab(52.83% -0.1222 0.0988)
OKLCHoklch(52.83% 0.157 141)
XYZxyz(8.8714, 16.0088, 3.6592)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A801B #711B80
analogous
#5C801B #2A801B #1B803E
triadic
#2A801B #1B2A80 #801B2A
tetradic
#2A801B #1B5C80 #711B80 #803E1B
square
#2A801B #1B5C80 #711B80 #803E1B
split-complementary
#2A801B #3E1B80 #801B5C
monochromatic
#091B06 #194D10 #2A801B #3BB326 #55D63F

Accessibility & contrast

On white

5.00
#2A801B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2A801B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A801B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A801B#FFFFFF#000000##FFFFFF
##2A801B1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837403
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#1A7C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a801b;
/* rgb */ color: rgb(42, 128, 27);
/* oklch */ color: oklch(52.8% 0.157 141.0);
Tailwind
colors: {
  custom: {
    50: '#70a660',
    500: '#2a801b',
    950: '#000000',
  },
}
SCSS
$custom: #2a801b;
$custom-light: #70a660;
$custom-dark: #000000;
JSON
{
  "hex": "#2a801b",
  "rgb": {
    "r": 42,
    "g": 128,
    "b": 27
  },
  "hsl": {
    "h": 111.089,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52828,
    "c": 0.1571,
    "h": 141
  },
  "luminance": 0.1601
}

Semantic roles & 50–950 ramp

primary
#2A801B
secondary
#A343B4
accent
#40E8CF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2A801B

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

Preview Lab → · Contrast checker → · Palette generator →

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