#2A941F#2A941F

#2A941F is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.5% C 0.178 H 141.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2A941F
RGBrgb(42, 148, 31)
HSLhsl(114, 65%, 35%)
HSVhsv(114, 79%, 58%)
CMYKcmyk(71.6%, 0%, 79.1%, 42%)
CIE-LABlab(53.78, -51.41, 49.29)
CIE-LCHlch(53.78, 71.22, 136.21°)
OKLaboklab(58.47% -0.1401 0.1103)
OKLCHoklch(58.47% 0.178 141.8)
XYZxyz(11.7914, 21.7697, 4.8766)
Luminance0.2177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A941F #891F94
analogous
#64941F #2A941F #1F944E
triadic
#2A941F #1F2A94 #941F2A
tetradic
#2A941F #1F6494 #891F94 #944E1F
square
#2A941F #1F6494 #891F94 #944E1F
split-complementary
#2A941F #4E1F94 #941F64
monochromatic
#0D2F0A #1C6114 #2A941F #38C72A #5FDB53

Accessibility & contrast

On white

3.92
#2A941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#2A941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A941F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A941F#FFFFFF#000000##000000
##2A941F1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8C7D2D
Tritanopia (blue-blind)
#0D8F7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2a941f;
/* rgb */ color: rgb(42, 148, 31);
/* oklch */ color: oklch(58.5% 0.178 141.8);
Tailwind
colors: {
  custom: {
    50: '#75b464',
    500: '#2a941f',
    950: '#000000',
  },
}
SCSS
$custom: #2a941f;
$custom-light: #75b464;
$custom-dark: #000000;
JSON
{
  "hex": "#2a941f",
  "rgb": {
    "r": 42,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 114.359,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58471,
    "c": 0.17831,
    "h": 141.8
  },
  "luminance": 0.21771
}

Semantic roles & 50–950 ramp

primary
#2A941F
secondary
#B451BE
accent
#3FE8D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A941F

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

Preview Lab → · Contrast checker → · Palette generator →

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