#2A931E#2A931E

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

Color values

HEX#2A931E
RGBrgb(42, 147, 30)
HSLhsl(114, 66%, 35%)
HSVhsv(114, 80%, 58%)
CMYKcmyk(71.4%, 0%, 79.6%, 42.4%)
CIE-LABlab(53.44, -51.14, 49.29)
CIE-LCHlch(53.44, 71.03, 136.06°)
OKLaboklab(58.19% -0.1394 0.1101)
OKLCHoklch(58.19% 0.178 141.7)
XYZxyz(11.6223, 21.4522, 4.7562)
Luminance0.2145 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A931E #871E93
analogous
#65931E #2A931E #1E934C
triadic
#2A931E #1E2A93 #931E2A
tetradic
#2A931E #1E6593 #871E93 #934C1E
square
#2A931E #1E6593 #871E93 #934C1E
split-complementary
#2A931E #4C1E93 #931E65
monochromatic
#0D2D09 #1B6014 #2A931E #39C628 #5EDB50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A931E#FFFFFF#000000##000000
##2A931E1.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)
#978500
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#0E8E7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2a931e;
/* rgb */ color: rgb(42, 147, 30);
/* oklch */ color: oklch(58.2% 0.178 141.7);
Tailwind
colors: {
  custom: {
    50: '#74b464',
    500: '#2a931e',
    950: '#000000',
  },
}
SCSS
$custom: #2a931e;
$custom-light: #74b464;
$custom-dark: #000000;
JSON
{
  "hex": "#2a931e",
  "rgb": {
    "r": 42,
    "g": 147,
    "b": 30
  },
  "hsl": {
    "h": 113.846,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58186,
    "c": 0.17769,
    "h": 141.7
  },
  "luminance": 0.21453
}

Semantic roles & 50–950 ramp

primary
#2A931E
secondary
#B34FBE
accent
#3FE9D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A931E

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

Preview Lab → · Contrast checker → · Palette generator →

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