#2A874E#2A874E

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

Color values

HEX#2A874E
RGBrgb(42, 135, 78)
HSLhsl(143, 53%, 35%)
HSVhsv(143, 69%, 53%)
CMYKcmyk(68.9%, 0%, 42.2%, 47.1%)
CIE-LABlab(49.94, -40.62, 22.94)
CIE-LCHlch(49.94, 46.65, 150.54°)
OKLaboklab(55.46% -0.1096 0.0569)
OKLCHoklch(55.46% 0.124 152.6)
XYZxyz(10.9930, 18.3691, 10.1725)
Luminance0.1837 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A874E #872A63
analogous
#35872A #2A874E #2A877D
triadic
#2A874E #4E2A87 #874E2A
tetradic
#2A874E #2A3587 #872A63 #877D2A
square
#2A874E #2A3587 #872A63 #877D2A
split-complementary
#2A874E #7D2A87 #872A35
monochromatic
#0D2A18 #1B5833 #2A874E #39B669 #5ECD89

Accessibility & contrast

On white

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

On black

4.67
#2A874E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A874E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A874E#FFFFFF#000000##000000
##2A874E1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a874e;
/* rgb */ color: rgb(42, 135, 78);
/* oklch */ color: oklch(55.5% 0.124 152.6);
Tailwind
colors: {
  custom: {
    50: '#70ab80',
    500: '#2a874e',
    950: '#000000',
  },
}
SCSS
$custom: #2a874e;
$custom-light: #70ab80;
$custom-dark: #000000;
JSON
{
  "hex": "#2a874e",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 78
  },
  "hsl": {
    "h": 143.226,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55459,
    "c": 0.12353,
    "h": 152.6
  },
  "luminance": 0.1837
}

Semantic roles & 50–950 ramp

primary
#2A874E
secondary
#B35A90
accent
#4CA4DC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2A874E

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

Preview Lab → · Contrast checker → · Palette generator →

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