#2A8524#2A8524

#2A8524 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.158 H 142.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2A8524
RGBrgb(42, 133, 36)
HSLhsl(116, 57%, 33%)
HSVhsv(116, 73%, 52%)
CMYKcmyk(68.4%, 0%, 72.9%, 47.8%)
CIE-LABlab(48.75, -45.77, 42.41)
CIE-LCHlch(48.75, 62.39, 137.18°)
OKLaboklab(54.31% -0.1246 0.0966)
OKLCHoklch(54.31% 0.158 142.2)
XYZxyz(9.6603, 17.3937, 4.5169)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8524 #7F2485
analogous
#5A8524 #2A8524 #24854E
triadic
#2A8524 #242A85 #85242A
tetradic
#2A8524 #245A85 #7F2485 #854E24
square
#2A8524 #245A85 #7F2485 #854E24
split-complementary
#2A8524 #4E2485 #85245A
monochromatic
#0C250A #1B5517 #2A8524 #39B531 #5BD053

Accessibility & contrast

On white

4.69
#2A8524 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2A8524 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8524
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8524#FFFFFF#000000##FFFFFF
##2A85241.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887814
Deuteranopia (green-blind)
#7D712E
Tritanopia (blue-blind)
#168172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a8524;
/* rgb */ color: rgb(42, 133, 36);
/* oklch */ color: oklch(54.3% 0.158 142.2);
Tailwind
colors: {
  custom: {
    50: '#71a965',
    500: '#2a8524',
    950: '#000000',
  },
}
SCSS
$custom: #2a8524;
$custom-light: #71a965;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8524",
  "rgb": {
    "r": 42,
    "g": 133,
    "b": 36
  },
  "hsl": {
    "h": 116.289,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54311,
    "c": 0.15765,
    "h": 142.2
  },
  "luminance": 0.17395
}

Semantic roles & 50–950 ramp

primary
#2A8524
secondary
#AE50B4
accent
#47E1D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8524

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

Preview Lab → · Contrast checker → · Palette generator →

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