#2A8F19#2A8F19

#2A8F19 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.176 H 141.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2A8F19
RGBrgb(42, 143, 25)
HSLhsl(111, 70%, 33%)
HSVhsv(111, 83%, 56%)
CMYKcmyk(70.6%, 0%, 82.5%, 43.9%)
CIE-LABlab(52.07, -50.09, 49.56)
CIE-LCHlch(52.07, 70.47, 135.31°)
OKLaboklab(57.04% -0.1369 0.11)
OKLCHoklch(57.04% 0.176 141.2)
XYZxyz(10.9522, 20.2062, 4.2425)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8F19 #7E198F
analogous
#658F19 #2A8F19 #198F43
triadic
#2A8F19 #192A8F #8F192A
tetradic
#2A8F19 #19658F #7E198F #8F4319
square
#2A8F19 #19658F #7E198F #8F4319
split-complementary
#2A8F19 #43198F #8F1965
monochromatic
#0B2707 #1B5B10 #2A8F19 #39C322 #5ADE44

Accessibility & contrast

On white

4.17
#2A8F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#2A8F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8F19
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8F19#FFFFFF#000000##000000
##2A8F191.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#128A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8f19;
/* rgb */ color: rgb(42, 143, 25);
/* oklch */ color: oklch(57.0% 0.176 141.2);
Tailwind
colors: {
  custom: {
    50: '#74b161',
    500: '#2a8f19',
    950: '#000000',
  },
}
SCSS
$custom: #2a8f19;
$custom-light: #74b161;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8f19",
  "rgb": {
    "r": 42,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 111.356,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5704,
    "c": 0.17556,
    "h": 141.2
  },
  "luminance": 0.20207
}

Semantic roles & 50–950 ramp

primary
#2A8F19
secondary
#AE44BF
accent
#3BEDD3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #2A8F19

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

Preview Lab → · Contrast checker → · Palette generator →

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