#2A974B#2A974B

#2A974B is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.8% C 0.149 H 149.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2A974B
RGBrgb(42, 151, 75)
HSLhsl(138, 56%, 38%)
HSVhsv(138, 72%, 59%)
CMYKcmyk(72.2%, 0%, 50.3%, 40.8%)
CIE-LABlab(55.21, -47.41, 31.29)
CIE-LCHlch(55.21, 56.81, 146.57°)
OKLaboklab(59.79% -0.1276 0.076)
OKLCHoklch(59.79% 0.149 149.2)
XYZxyz(13.2904, 23.1320, 10.4197)
Luminance0.2313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A974B #972A76
analogous
#3F972A #2A974B #2A9781
triadic
#2A974B #4B2A97 #974B2A
tetradic
#2A974B #2A3F97 #972A76 #97812A
square
#2A974B #2A3F97 #972A76 #97812A
split-complementary
#2A974B #812A97 #972A3F
monochromatic
#0F371B #1D6733 #2A974B #37C763 #67D588

Accessibility & contrast

On white

3.73
#2A974B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#2A974B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A974B
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A974B#FFFFFF#000000##000000
##2A974B1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A45
Deuteranopia (green-blind)
#8B8150
Tritanopia (blue-blind)
#009485
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a974b;
/* rgb */ color: rgb(42, 151, 75);
/* oklch */ color: oklch(59.8% 0.149 149.2);
Tailwind
colors: {
  custom: {
    50: '#73b77f',
    500: '#2a974b',
    950: '#000000',
  },
}
SCSS
$custom: #2a974b;
$custom-light: #73b77f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a974b",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 75
  },
  "hsl": {
    "h": 138.165,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5979,
    "c": 0.14854,
    "h": 149.2
  },
  "luminance": 0.23133
}

Semantic roles & 50–950 ramp

primary
#2A974B
secondary
#BB62A0
accent
#48B2E0
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2A974B

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

Preview Lab → · Contrast checker → · Palette generator →

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