#2B974B#2B974B

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

Color values

HEX#2B974B
RGBrgb(43, 151, 75)
HSLhsl(138, 56%, 38%)
HSVhsv(138, 72%, 59%)
CMYKcmyk(71.5%, 0%, 50.3%, 40.8%)
CIE-LABlab(55.23, -47.24, 31.32)
CIE-LCHlch(55.23, 56.68, 146.45°)
OKLaboklab(59.82% -0.1272 0.0761)
OKLCHoklch(59.82% 0.148 149.1)
XYZxyz(13.3318, 23.1533, 10.4217)
Luminance0.2316 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B974B #972B77
analogous
#41972B #2B974B #2B9781
triadic
#2B974B #4B2B97 #974B2B
tetradic
#2B974B #2B4197 #972B77 #97812B
square
#2B974B #2B4197 #972B77 #97812B
split-complementary
#2B974B #812B97 #972B41
monochromatic
#10381C #1D6733 #2B974B #39C763 #68D488

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B974B#FFFFFF#000000##000000
##2B974B1.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: #2b974b;
/* rgb */ color: rgb(43, 151, 75);
/* oklch */ color: oklch(59.8% 0.148 149.1);
Tailwind
colors: {
  custom: {
    50: '#74b77f',
    500: '#2b974b',
    950: '#000000',
  },
}
SCSS
$custom: #2b974b;
$custom-light: #74b77f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b974b",
  "rgb": {
    "r": 43,
    "g": 151,
    "b": 75
  },
  "hsl": {
    "h": 137.778,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59815,
    "c": 0.1482,
    "h": 149.1
  },
  "luminance": 0.23155
}

Semantic roles & 50–950 ramp

primary
#2B974B
secondary
#BB63A1
accent
#49B2DF
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2B974B

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

Preview Lab → · Contrast checker → · Palette generator →

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