#2A874F#2A874F

#2A874F is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.5% C 0.123 H 153.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2A874F
RGBrgb(42, 135, 79)
HSLhsl(144, 53%, 35%)
HSVhsv(144, 69%, 53%)
CMYKcmyk(68.9%, 0%, 41.5%, 47.1%)
CIE-LABlab(49.96, -40.42, 22.41)
CIE-LCHlch(49.96, 46.22, 151.00°)
OKLaboklab(55.48% -0.1091 0.0557)
OKLCHoklch(55.48% 0.123 153)
XYZxyz(11.0292, 18.3835, 10.3627)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A874F #872A62
analogous
#34872A #2A874F #2A877E
triadic
#2A874F #4F2A87 #874F2A
tetradic
#2A874F #2A3487 #872A62 #877E2A
square
#2A874F #2A3487 #872A62 #877E2A
split-complementary
#2A874F #7E2A87 #872A34
monochromatic
#0D2A18 #1B5834 #2A874F #39B66A #5ECD8A

Accessibility & contrast

On white

4.49
#2A874F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2A874F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A874F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A874F#FFFFFF#000000##000000
##2A874F1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4B
Deuteranopia (green-blind)
#7B7453
Tritanopia (blue-blind)
#008579
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a874f;
/* rgb */ color: rgb(42, 135, 79);
/* oklch */ color: oklch(55.5% 0.123 153.0);
Tailwind
colors: {
  custom: {
    50: '#70ab81',
    500: '#2a874f',
    950: '#000000',
  },
}
SCSS
$custom: #2a874f;
$custom-light: #70ab81;
$custom-dark: #000000;
JSON
{
  "hex": "#2a874f",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 79
  },
  "hsl": {
    "h": 143.871,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55479,
    "c": 0.12254,
    "h": 153
  },
  "luminance": 0.18385
}

Semantic roles & 50–950 ramp

primary
#2A874F
secondary
#B35A8F
accent
#4CA3DC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2A874F

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

Preview Lab → · Contrast checker → · Palette generator →

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