#2A931F#2A931F

#2A931F is a mid, vivid green. Relative luminance 0.215; OKLCH L 58.2% C 0.177 H 141.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2A931F
RGBrgb(42, 147, 31)
HSLhsl(114, 65%, 35%)
HSVhsv(114, 79%, 58%)
CMYKcmyk(71.4%, 0%, 78.9%, 42.4%)
CIE-LABlab(53.45, -51.07, 48.96)
CIE-LCHlch(53.45, 70.75, 136.21°)
OKLaboklab(58.19% -0.1392 0.1096)
OKLCHoklch(58.19% 0.177 141.8)
XYZxyz(11.6352, 21.4573, 4.8246)
Luminance0.2146 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A931F #881F93
analogous
#64931F #2A931F #1F934E
triadic
#2A931F #1F2A93 #931F2A
tetradic
#2A931F #1F6493 #881F93 #934E1F
square
#2A931F #1F6493 #881F93 #934E1F
split-complementary
#2A931F #4E1F93 #931F64
monochromatic
#0D2E0A #1C6014 #2A931F #38C62A #5FDA52

Accessibility & contrast

On white

3.97
#2A931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#2A931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A931F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A931F#FFFFFF#000000##000000
##2A931F1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#0E8E7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2a931f;
/* rgb */ color: rgb(42, 147, 31);
/* oklch */ color: oklch(58.2% 0.177 141.8);
Tailwind
colors: {
  custom: {
    50: '#74b464',
    500: '#2a931f',
    950: '#000000',
  },
}
SCSS
$custom: #2a931f;
$custom-light: #74b464;
$custom-dark: #000000;
JSON
{
  "hex": "#2a931f",
  "rgb": {
    "r": 42,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 114.31,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58192,
    "c": 0.17716,
    "h": 141.8
  },
  "luminance": 0.21459
}

Semantic roles & 50–950 ramp

primary
#2A931F
secondary
#B350BE
accent
#40E8D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A931F

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

Preview Lab → · Contrast checker → · Palette generator →

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