#2A8630#2A8630

#2A8630 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.150 H 144.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2A8630
RGBrgb(42, 134, 48)
HSLhsl(124, 52%, 35%)
HSVhsv(124, 69%, 53%)
CMYKcmyk(68.7%, 0%, 64.2%, 47.5%)
CIE-LABlab(49.20, -44.88, 37.61)
CIE-LCHlch(49.20, 58.56, 140.03°)
OKLaboklab(54.71% -0.1216 0.0879)
OKLCHoklch(54.71% 0.15 144.1)
XYZxyz(10.0128, 17.7548, 5.6951)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8630 #862A80
analogous
#52862A #2A8630 #2A865E
triadic
#2A8630 #302A86 #86302A
tetradic
#2A8630 #2A5286 #862A80 #865E2A
square
#2A8630 #2A5286 #862A80 #865E2A
split-complementary
#2A8630 #5E2A86 #862A52
monochromatic
#0D290F #1B571F #2A8630 #39B541 #5ECD65

Accessibility & contrast

On white

4.61
#2A8630 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2A8630 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8630
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8630#FFFFFF#000000##FFFFFF
##2A86301.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A26
Deuteranopia (green-blind)
#7E7237
Tritanopia (blue-blind)
#118274
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a8630;
/* rgb */ color: rgb(42, 134, 48);
/* oklch */ color: oklch(54.7% 0.150 144.1);
Tailwind
colors: {
  custom: {
    50: '#70aa6c',
    500: '#2a8630',
    950: '#000000',
  },
}
SCSS
$custom: #2a8630;
$custom-light: #70aa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8630",
  "rgb": {
    "r": 42,
    "g": 134,
    "b": 48
  },
  "hsl": {
    "h": 123.913,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54713,
    "c": 0.15001,
    "h": 144.1
  },
  "luminance": 0.17756
}

Semantic roles & 50–950 ramp

primary
#2A8630
secondary
#B25AAC
accent
#4CD2DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2A8630

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

Preview Lab → · Contrast checker → · Palette generator →

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