#2A961F#2A961F

#2A961F is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.0% C 0.181 H 141.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2A961F
RGBrgb(42, 150, 31)
HSLhsl(114, 66%, 35%)
HSVhsv(114, 79%, 59%)
CMYKcmyk(72%, 0%, 79.3%, 41.2%)
CIE-LABlab(54.45, -52.09, 49.93)
CIE-LCHlch(54.45, 72.16, 136.21°)
OKLaboklab(59.03% -0.142 0.1116)
OKLCHoklch(59.03% 0.181 141.8)
XYZxyz(12.1078, 22.4025, 4.9821)
Luminance0.2240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A961F #8B1F96
analogous
#65961F #2A961F #1F964F
triadic
#2A961F #1F2A96 #961F2A
tetradic
#2A961F #1F6596 #8B1F96 #964F1F
square
#2A961F #1F6596 #8B1F96 #964F1F
split-complementary
#2A961F #4F1F96 #961F65
monochromatic
#0E310A #1C6315 #2A961F #38C929 #60DC54

Accessibility & contrast

On white

3.83
#2A961F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#2A961F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A961F
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A961F#FFFFFF#000000##000000
##2A961F1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#0B9180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a961f;
/* rgb */ color: rgb(42, 150, 31);
/* oklch */ color: oklch(59.0% 0.181 141.8);
Tailwind
colors: {
  custom: {
    50: '#75b665',
    500: '#2a961f',
    950: '#000000',
  },
}
SCSS
$custom: #2a961f;
$custom-light: #75b665;
$custom-dark: #000000;
JSON
{
  "hex": "#2a961f",
  "rgb": {
    "r": 42,
    "g": 150,
    "b": 31
  },
  "hsl": {
    "h": 114.454,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59027,
    "c": 0.18058,
    "h": 141.8
  },
  "luminance": 0.22404
}

Semantic roles & 50–950 ramp

primary
#2A961F
secondary
#B552BF
accent
#3FE9D9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2A961F

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

Preview Lab → · Contrast checker → · Palette generator →

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