#2A801C#2A801C

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

Color values

HEX#2A801C
RGBrgb(42, 128, 28)
HSLhsl(112, 64%, 31%)
HSVhsv(112, 78%, 50%)
CMYKcmyk(67.2%, 0%, 78.1%, 49.8%)
CIE-LABlab(46.99, -44.61, 43.70)
CIE-LCHlch(46.99, 62.45, 135.59°)
OKLaboklab(52.84% -0.1219 0.0982)
OKLCHoklch(52.84% 0.157 141.2)
XYZxyz(8.8832, 16.0135, 3.7212)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A801C #721C80
analogous
#5C801C #2A801C #1C8040
triadic
#2A801C #1C2A80 #801C2A
tetradic
#2A801C #1C5C80 #721C80 #80401C
square
#2A801C #1C5C80 #721C80 #80401C
split-complementary
#2A801C #401C80 #801C5C
monochromatic
#091C06 #1A4E11 #2A801C #3AB227 #56D541

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A801C#FFFFFF#000000##FFFFFF
##2A801C1.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)
#837406
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#1A7C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a801c;
/* rgb */ color: rgb(42, 128, 28);
/* oklch */ color: oklch(52.8% 0.157 141.2);
Tailwind
colors: {
  custom: {
    50: '#70a660',
    500: '#2a801c',
    950: '#000000',
  },
}
SCSS
$custom: #2a801c;
$custom-light: #70a660;
$custom-dark: #000000;
JSON
{
  "hex": "#2a801c",
  "rgb": {
    "r": 42,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 111.6,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52835,
    "c": 0.15654,
    "h": 141.2
  },
  "luminance": 0.16014
}

Semantic roles & 50–950 ramp

primary
#2A801C
secondary
#A444B3
accent
#41E7D0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2A801C

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

Preview Lab → · Contrast checker → · Palette generator →

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